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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/06/02 04:54
Read: times


 
#21476 - quick question on ASM variables
hello everyone,

How can I go about making a variable in ASM that I can update its value?
I know that if I use something like this:
variable: db 5h,6h,7h,0
that will be in rom, and I can't update one of the values. Is there a way to do something like this but that uses ram, so I can, for instance, modify the 6h to something else in runtime?
It would be nice if I could declare the variable just like the above, with the commans between values so I can move around with A+DPTR.
If there is another way, please let me know, I'm not very familiar with ASM yet. Thanks

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