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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/26/99 11:59
Read: times


 
#325 - RE: pseudo ops
Here is an example:
myname equ 7
pre data 55h

org 0000h
mov myname,#0ffh ;copy 0ffh in iram (addr 07h.....r7 bank 0)
mov pre,#0ffh (same but iram addr.55h)

pre data 56h ;we have changed the value of pre
mov pre,#0ffh (iram addr. is now 56h)

myname equ 8 ;this is not possible (myname is already set to 7)

equ directive for a variable myname can be used only once in the program, but pre can be changed as many times as you like

List of 5 messages in thread
TopicAuthorDate
pseudo ops            01/01/70 00:00      
RE: pseudo ops            01/01/70 00:00      
RE: pseudo ops            01/01/70 00:00      
RE: pseudo ops            01/01/70 00:00      
RE: pseudo ops            01/01/70 00:00      

Back to Subject List