T.I.M | Toolchain Documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
asm_statement Struct Reference

Stores all information on a single ASM instruction. More...

#include <asm.h>

Data Fields

unsigned int address
 The address of the instruction in byte-aligned memory. More...
 
asm_opcode_args args
 Arguments to the instruction. More...
 
tim_condition condition
 The conditional execution code for this statement. More...
 
BOOL label_to_resolve
 set to true IFF the statement needs an immediate resolving. More...
 
unsigned int line_number
 The line number of the source file the instruction came from. More...
 
asm_statement * next
 The next statement to be executed in the program. More...
 
tim_instruction_opcode opcode
 The opcode of the instruction. More...
 
asm_statement * prev
 The previously executed statement in the program. More...
 
tim_instruction_size size
 The size in bytes of this instruction. More...
 

Detailed Description

Stores all information on a single ASM instruction.

Stores the opcode and arguments of an ASM instruction. This includes instructions that are not actually emitted such as DATA instructions. It also contains the memory address of the instruction for any label pointers too it.

Field Documentation

unsigned int asm_statement::address

The address of the instruction in byte-aligned memory.

asm_opcode_args asm_statement::args

Arguments to the instruction.

tim_condition asm_statement::condition

The conditional execution code for this statement.

BOOL asm_statement::label_to_resolve

set to true IFF the statement needs an immediate resolving.

unsigned int asm_statement::line_number

The line number of the source file the instruction came from.

asm_statement* asm_statement::next

The next statement to be executed in the program.

tim_instruction_opcode asm_statement::opcode

The opcode of the instruction.

asm_statement* asm_statement::prev

The previously executed statement in the program.

tim_instruction_size asm_statement::size

The size in bytes of this instruction.


The documentation for this struct was generated from the following file: