Category:Z80 Assembly: Difference between revisions

m
m (formatting)
Line 40:
==Assembler Syntax==
 
Assembler syntax varies a bit depending on the assembler, but most follow similarIntel syntax conventions:, with a few minor differences.
* Instructions with two operands have the destination on the left, and the source on the right, separated by a comma. For example, <code>LD C,A</code> loads the contents of the A register into the C register.
* & or $ represents hexadecimal, and % represents binary.
1,489

edits