![]() ![]() Cpc basic error messages The memory The Cpc system vectors Diskettes management CpcAlive installer for Windows and for DosBox CpcAlive Documentation ![]() |
SmallAsm
(V0.3) is a Z80 assembler for Dos. SmallAsm uses the following standard words: DB, .DB , DEFB or .BYTE DW, .DW , DEFW or .WORD DS, .DS or DEFS END or .END EQU or .EQU ORG or .ORG IF, IFDEF, IFNDEF, ELSE, ENDIF #INCLUDE and the following operators: =, +, -, *,/, | (or), & (and) SmallAsm manages the operations in a very simplified way and does not support brackets and does not manage mathematical priorities. Numeric constants representation:
The following representations are equivalent: Remark: hexadecimal constants wich start with
a letter must be
prefixed by a '0' if the suffix 'H' is used. (ex:0FFH
for
FFH) Ex: MACRO ADD(X,Y) LD HL,X LD DE,Y ADD HL,DE ENDM |