All is in the title, I would like to use a variable defined before running the program in assembly
I use ICE for building and I'm on Ti 83 Pce
Thx for the reply, I'm novice
I am not sure what you need: ICE or Assembly?

I haven't tested this but I think this should work:

Code:
call ZeroOP1 ; clear OP1
; type is already initialized to 0 from the above line
ld a,'A' ; change the 'A' to any variable
ld (OP1+1),a ; store it
;Move the variable name from OP1 to the variable data
; and put it in OP1
call RclVarSym
call _ConvOP1 ; load FP number from OP1 into DE
; do other stuff with DE
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement