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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/08/02 05:49
Read: times


 
#21539 - RE: quick question on ASM variables
Philip,

With the Metalink assembler just use the statement "data" i.e.

save_data data 30H
save_number data 31H

you can now use it as a variable

i.e.

mov save_number,#FFH

also if you need bit storage (found between 20H and 30H

use the "bit" statement

i.e.

save_bit equ 20H.0
save_sign equ 20H.1

now use it as bit variable


jb save_bit,where_ever

or

mov c,p1.7
mov save_sign,c

regards,
p



List of 16 messages in thread
TopicAuthorDate
quick question on ASM variables            01/01/70 00:00      
RE: quick question on ASM variables            01/01/70 00:00      
RE: quick question on ASM variables            01/01/70 00:00      
RE: quick question on ASM variables            01/01/70 00:00      
RE: quick question on ASM variables            01/01/70 00:00      
RE: ASM variables, moving thru it            01/01/70 00:00      
RE: ASM variables, moving thru it            01/01/70 00:00      
RE: quick question on ASM variables            01/01/70 00:00      
RE: quick question on ASM variables, Rob            01/01/70 00:00      
RE: quick question on ASM variables, Rob            01/01/70 00:00      
RE: quick question on ASM variables            01/01/70 00:00      
RE: data segment variables wont work?            01/01/70 00:00      
RE: quick question on ASM variables            01/01/70 00:00      
RE: data segment variables wont work?            01/01/70 00:00      
RE: Thanks!!            01/01/70 00:00      
RE: Thanks!!            01/01/70 00:00      

Back to Subject List