Crate msp430_asm[][src]

Modules

decode_error
emulate
instruction
jxx
operand
single_operand
two_operand

Functions

decode

Decodes the next instruction represented in the slice passed to it. This will only decode a single instruction. To use this correctly to decode a series of instructions, you keep track of the number of the size of the last decoded instruction to remove those bytes from the input to correctly decode the next due to the fact that instructions are not fixed width and maybe 2, 4 or 6 bytes

Type Definitions

Result

Stores the return type for a decode