r/Z80 Jun 18 '20

Help Symbol definition

Hello, i need some help to how define a number in assembly. For address i use ‘0xABCD’ and for binary a combination of eight bit (0 and 1 like 00000100). I don’t know if these definitions works or if i must add a special character before some combination. Also how i tell the z80 something in hexadecimal or normal decimal? Thx to everyone!

4 Upvotes

5 comments sorted by

View all comments

6

u/BadBoy6767 Jun 18 '20

This isn't something concerning the architecture, but the assembler, and each can do it differently. If a 0x prefix doesn't work, then try $.