-

Changes

Jump to: navigation, search

Z80 Assembler Reference Manual

43 bytes added, 20:08, 30 July 2017
no edit summary
The assembler is named zas, and is invoked as follows:
ZAS options files ...
of any length, and all characters are significant. The characters used to form a symbol may be chosen from the upper
and lower case alphabetics, the digits 0-9, and the special
 
symbols underscore ('_'), dollar ('$') and question mark
('?'). The first character may not be numeric. Upper and
entry_point: ;This is referenced from far away
ld b,10
1: dec c
jr nz,2f ;if zero, branch forward to 2: ld c,8 djnz 1b ;decrement and branch back to 1: jr 1f ;this does not branch to the ;same label as the djnz
2: call fred ;get here from the jr nz,2f
1: ret ;get here from the jr 1f
{|
|+
!Character|| Radix|| Name|
|-
!B|| 2|| binary|
|-
!O|| 8|| octal|
|-
!Q|| 8|| octal|
|-
!o|| 8|| octal|
|-
!q|| 8|| octal|
|-
!H|| 16|| hexadecimal|
|-
!h|| 16|| hexadecimal|
|}

Navigation menu