CpcAlive is a
programming
environment
Amstrad CPC
compatible
for graphics
 animations
creation.





Z80 online

Z80 processor opcodes and
operation


Intel hex to binary conversion
Cpc basic key words
( English - Español )

Cpc basic error messages

The memory

The Cpc system vectors

Diskettes management

CpcAlive installer for Windows
and for DosBox

CpcAlive Documentation


Français
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:
Suffix Prefix
binary B or b % or &x
hexadecimal H or h $ or &

The following representations are equivalent:
01011000b , %01011000 or &x01011000
1234H , $1234 or &1234

Remark: hexadecimal constants wich start with a letter must be prefixed by a '0' if the suffix 'H' is used. (ex:0FFH for FFH)

It is possible to define macros-instructions with this form:
Ex:
MACRO ADD(X,Y)
LD HL,X
LD DE,Y
ADD HL,DE
ENDM