Skip to main content

Crate yagbas_asmtypes

Crate yagbas_asmtypes 

Source
Expand description

The types for assembly manipulation by the yagbas compiler.

This crate is a sub-crate of yagbas. Use in any other contexts is not intentionally supported.

Enumsยง

Asm
A single line of assembly code.
BinOp
A binary operation, using A and another register, outputting to A.
Cond
A CPU condition.
Reg8
The 8-bit registers usable with most 8-bit instructions.
Reg16
The three 16-bit registers available for use with most 16-bit instructions.
RstVec
One of the reset vector addresses.
U3
An unsigned 3-bit value, a value in 0 ..= 7.
UnOp
An unary operation, that operates on a single register.