I'm using the online ClrHome z80 assembler and whenever I try to set a variable to AppBackupScreen, or the address of AppBackupScreen, it says
Code:
Unknown instruction or directive var1 (" var1 .equ AppBackupScreen" on line 6 in test_z80)

Is there a reason why it does this, and how can I go about fixing it? I tried using different capitalizations and stuff, it still wouldn't work.

Another question I have..(sorry if this is too many questions, but I tried looking them up already and couldn't find answers Dx) is: how can you print integers and variables to the screen, in the row and column of your choice? I could only find for how to do this with strings.

Thanks!
Get rid of the indentation (the single space) at the start of the line.
  
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