<--  back   Last regenerated: 2022-04-20 17:31:36 kio

zasm - Z80 Assembler – Version 4.4

Command Line Options

--ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_

Related Differences from v3 to v4: Command line options
Command Line Options
Command Line Options: Command line options
command line option, Pseudo instructions
8080 Assembler: 8080 pseudo instructions
pseudo instruction and predefined label

IXCB is used here as a mnenonic for the prefix IX or IY plus prefix 0xCB instructions like 'rr', 'bit', 'Pseudo instructions: defl, set and '='
Labels: SET
set' and 'res'. These are allowed for those opcodes which use the '(hl)' register only. But people have found out what they do when you use one of the other, regular registers: They may additionally copy the result into the selected register or they may, Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
if you use register 'h' or 'l', access the upper or lower byte of the index register.

What a CPU does depends on it's hardware. Original Zilog Command Line Options: --z80
Pseudo instructions: .z80, .z180 and .8080
Targets: #target Z80
Z80 CPUs should behave as for --Command Line Options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_

Commands for command line options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_
ixcbr2. Others allow the access to the index register halves, some just behave as for '(hl)' for all other registers as well and some, like the Command Line Options: --z180
Pseudo instructions: .z80, .z180 and .8080
Z180, even trap all illegal instruction.

Option --Command Line Options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_

Commands for command line options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_
ixcbr2 enables the 'second register target' opcodes like

    Pseudo instructions: defl, set and '='
Labels: SET
set 0,(ix+0),b

and option --Command Line Options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_

Commands for command line options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_
ixcbxh enables the 'index register halves' opcodes like

    Pseudo instructions: defl, set and '='
Labels: SET
set 0,xh

Obviously they are mutually exclusive.

Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
If Differences from v3 to v4: Command line options
Command Line Options
Command Line Options: Command line options
command line option --Command Line Options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_

Commands for command line options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_
ixcbr2 or pseudo opcode .Command Line Options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_

Commands for command line options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_
ixcbr2 was used, then the Pseudo instructions: Label definition
Numeric expressions: Labels
8080 Assembler: Labels
label _ixcbr2_ is defined and can be tested with 'defined(_ixcbr2_)' in Expressions
8080 Assembler: Expressions
expressions.

Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
If Differences from v3 to v4: Command line options
Command Line Options
Command Line Options: Command line options
command line option --Command Line Options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_

Commands for command line options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_
ixcbxh or pseudo opcode .Command Line Options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_

Commands for command line options: --ixcbxh, .ixcbxh, _ixcbxh_
--ixcbr2, .ixcbr2, _ixcbr2_
ixcbxh was used, then the Pseudo instructions: Label definition
Numeric expressions: Labels
8080 Assembler: Labels
label _ixcbxh_ is defined and can be tested with 'defined(_ixcbxh_)' in Expressions
8080 Assembler: Expressions
expressions.

Valid HTML   Valid CSS