Pseudo instructions: rept, .rept, endm and .endm 8080 pseudo instructions: REPTrept <value>
<instr>
...
Pseudo instructions: macro, .macro, endm and .endm Pseudo instructions: rept, .rept, endm and .endmendm
This Pseudo instructions 8080 Assembler: 8080 pseudo instructionspseudo instructions defines a sequence of source which shall be stored into code multiple times. By use of a redefinable Pseudo instructions: Label definition Numeric expressions: Labels 8080 Assembler: Labelslabel the stored values may even be adjusted slightly. This is a lightweight form of an ad-hoc Pseudo instructions: macro, .macro, endm and .endm 8080 pseudo instructions: MACROmacro.
The names with or without dot may be used interchangeable.
Assembler directives (starting with '#') are not allowed inside Pseudo instructions: macro, .macro, endm and .endm 8080 pseudo instructions: MACROmacros.
Starting with version 4.1.4 the names "DUP" and "EDUP" are also accepted for "Pseudo instructions: rept, .rept, endm and .endm 8080 pseudo instructions: REPTREPT" and "Pseudo instructions: macro, .macro, endm and .endm Pseudo instructions: rept, .rept, endm and .endmENDM".
#insert: Examples: #assert: Example: incbin: Examples: #assert: Example:Example:
Pseudo instructions: rept, .rept, endm and .endm 8080 pseudo instructions: REPTrept $2000 - $
defb 0
Pseudo instructions: macro, .macro, endm and .endm Pseudo instructions: rept, .rept, endm and .endmendm
Which does the same thing as 'defs $2000-$' or even 'org $2000'. Just more complicated.
v defl 0
Pseudo instructions: rept, .rept, endm and .endm 8080 pseudo instructions: REPTrept 8
lda regs2 + v/2
v defl v+2
cpi v
jnz 0
Pseudo instructions: macro, .macro, endm and .endm Pseudo instructions: rept, .rept, endm and .endmendm
This seems to be 8080 assembler source. B-)
|