Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/29/02 11:05
Read: times


 
#26477 - RE: RAM test of 8052


Leo Paul wrote:
-------------------------------

...a page or two of external RAM available in your system

-------------------------------
why??
if one assumes acc ,psw registers are ok
then for a simple write-read back these
are sufficient
mov a,#055h
mov 00,a
clr a
mov a,00
cjne a,#055h,fault
mov a,#0aah
mov 00h,a
clr a
mov a,00h
cjne a,#aah,fault
mov psw,#00h
mov r0,#01h;r0 has been verified

loop:
mov @r0,#055h
cjne @r0,#055h,fault
mov @r0,#0aah
cjne @r0,#0aah,fault
inc r0
cjne r0,#00h,loop

regards
pranav


List of 22 messages in thread
TopicAuthorDate
RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052//craig            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052,correction            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: RAM test of 8052 data backup            01/01/70 00:00      
RE: RAM test of 8052            01/01/70 00:00      
RE: A51.startup            01/01/70 00:00      

Back to Subject List