2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
; flat assembler core variables
|
2013-10-16 12:12:09 +04:00
|
|
|
; Copyright (c) 1999-2013, Tomasz Grysztar.
|
2006-01-03 12:43:31 +03:00
|
|
|
; All rights reserved.
|
|
|
|
|
|
|
|
; Variables which have to be set up by interface:
|
|
|
|
|
|
|
|
memory_start dd ?
|
|
|
|
memory_end dd ?
|
|
|
|
|
|
|
|
additional_memory dd ?
|
|
|
|
additional_memory_end dd ?
|
|
|
|
|
|
|
|
stack_limit dd ?
|
|
|
|
|
|
|
|
input_file dd ?
|
|
|
|
output_file dd ?
|
2008-12-30 23:21:32 +03:00
|
|
|
symbols_file dd ?
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
passes_limit dw ?
|
|
|
|
|
|
|
|
; Internal core variables:
|
|
|
|
|
|
|
|
current_pass dw ?
|
|
|
|
|
|
|
|
include_paths dd ?
|
|
|
|
free_additional_memory dd ?
|
|
|
|
source_start dd ?
|
|
|
|
code_start dd ?
|
|
|
|
code_size dd ?
|
|
|
|
real_code_size dd ?
|
|
|
|
written_size dd ?
|
|
|
|
headers_size dd ?
|
|
|
|
|
|
|
|
current_line dd ?
|
|
|
|
macro_line dd ?
|
|
|
|
macro_block dd ?
|
|
|
|
macro_block_line dd ?
|
|
|
|
macro_block_line_number dd ?
|
|
|
|
macro_symbols dd ?
|
|
|
|
struc_name dd ?
|
|
|
|
struc_label dd ?
|
|
|
|
instant_macro_start dd ?
|
|
|
|
parameters_end dd ?
|
|
|
|
locals_counter rb 8
|
|
|
|
current_locals_prefix dd ?
|
|
|
|
anonymous_reverse dd ?
|
|
|
|
anonymous_forward dd ?
|
|
|
|
labels_list dd ?
|
|
|
|
label_hash dd ?
|
|
|
|
label_leaf dd ?
|
|
|
|
hash_tree dd ?
|
2013-10-16 12:12:09 +04:00
|
|
|
addressing_space dd ?
|
2006-01-03 12:43:31 +03:00
|
|
|
undefined_data_start dd ?
|
|
|
|
undefined_data_end dd ?
|
|
|
|
counter dd ?
|
|
|
|
counter_limit dd ?
|
2007-12-31 02:34:37 +03:00
|
|
|
error_info dd ?
|
2006-01-03 12:43:31 +03:00
|
|
|
error_line dd ?
|
|
|
|
error dd ?
|
2013-10-16 12:12:09 +04:00
|
|
|
tagged_blocks dd ?
|
2006-01-03 12:43:31 +03:00
|
|
|
structures_buffer dd ?
|
|
|
|
number_start dd ?
|
|
|
|
current_offset dd ?
|
|
|
|
value dq ?
|
|
|
|
fp_value rd 8
|
|
|
|
adjustment dq ?
|
|
|
|
symbol_identifier dd ?
|
|
|
|
address_symbol dd ?
|
|
|
|
address_high dd ?
|
|
|
|
format_flags dd ?
|
2006-07-28 17:39:16 +04:00
|
|
|
resolver_flags dd ?
|
2006-01-03 12:43:31 +03:00
|
|
|
symbols_stream dd ?
|
|
|
|
number_of_relocations dd ?
|
|
|
|
number_of_sections dd ?
|
|
|
|
stub_size dd ?
|
|
|
|
stub_file dd ?
|
|
|
|
current_section dd ?
|
|
|
|
machine dw ?
|
|
|
|
subsystem dw ?
|
|
|
|
subsystem_version dd ?
|
|
|
|
image_base dd ?
|
|
|
|
image_base_high dd ?
|
|
|
|
resource_data dd ?
|
|
|
|
resource_size dd ?
|
2011-10-13 23:06:08 +04:00
|
|
|
actual_fixups_size dd ?
|
|
|
|
reserved_fixups dd ?
|
|
|
|
reserved_fixups_size dd ?
|
|
|
|
last_fixup_base dd ?
|
2006-07-28 17:39:16 +04:00
|
|
|
parenthesis_stack dd ?
|
|
|
|
blocks_stack dd ?
|
2006-12-21 09:34:09 +03:00
|
|
|
parsed_lines dd ?
|
|
|
|
logical_value_parentheses dd ?
|
2007-08-10 08:45:04 +04:00
|
|
|
file_extension dd ?
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
operand_size db ?
|
2008-02-01 00:32:32 +03:00
|
|
|
size_override db ?
|
|
|
|
operand_prefix db ?
|
2009-02-20 16:05:49 +03:00
|
|
|
opcode_prefix db ?
|
2011-10-13 23:06:08 +04:00
|
|
|
rex_prefix db ?
|
|
|
|
vex_required db ?
|
|
|
|
vex_register db ?
|
|
|
|
immediate_size db ?
|
|
|
|
|
2006-01-03 12:43:31 +03:00
|
|
|
base_code db ?
|
|
|
|
extended_code db ?
|
2006-10-11 02:15:57 +04:00
|
|
|
supplemental_code db ?
|
2006-01-03 12:43:31 +03:00
|
|
|
postbyte_register db ?
|
2011-10-13 23:06:08 +04:00
|
|
|
segment_register db ?
|
|
|
|
xop_opcode_map db ?
|
2008-02-01 00:32:32 +03:00
|
|
|
|
2006-01-03 12:43:31 +03:00
|
|
|
mmx_size db ?
|
|
|
|
jump_type db ?
|
2006-07-28 17:39:16 +04:00
|
|
|
push_size db ?
|
2008-02-01 00:32:32 +03:00
|
|
|
value_size db ?
|
|
|
|
address_size db ?
|
2012-05-20 18:43:49 +04:00
|
|
|
label_size db ?
|
2008-02-01 00:32:32 +03:00
|
|
|
size_declared db ?
|
2011-10-13 23:06:08 +04:00
|
|
|
|
2008-02-01 00:32:32 +03:00
|
|
|
value_undefined db ?
|
2012-05-20 18:43:49 +04:00
|
|
|
value_constant db ?
|
2008-02-01 00:32:32 +03:00
|
|
|
value_type db ?
|
2012-05-20 18:43:49 +04:00
|
|
|
value_sign db ?
|
2011-10-13 23:06:08 +04:00
|
|
|
fp_sign db ?
|
|
|
|
fp_format db ?
|
2012-05-20 18:43:49 +04:00
|
|
|
address_sign db ?
|
2008-02-01 00:32:32 +03:00
|
|
|
compare_type db ?
|
2006-12-21 09:34:09 +03:00
|
|
|
logical_value_wrapping db ?
|
2008-02-01 00:32:32 +03:00
|
|
|
next_pass_needed db ?
|
2011-10-13 23:06:08 +04:00
|
|
|
output_format db ?
|
|
|
|
code_type db ?
|
2012-05-20 18:43:49 +04:00
|
|
|
adjustment_sign db ?
|
2011-10-13 23:06:08 +04:00
|
|
|
|
2008-02-01 00:32:32 +03:00
|
|
|
macro_status db ?
|
2012-05-20 18:43:49 +04:00
|
|
|
default_argument_value db ?
|
2008-02-01 00:32:32 +03:00
|
|
|
prefixed_instruction db ?
|
2011-10-13 23:06:08 +04:00
|
|
|
formatter_symbols_allowed db ?
|
2013-10-16 12:12:09 +04:00
|
|
|
free_address_range db ?
|
|
|
|
|
2006-01-03 12:43:31 +03:00
|
|
|
|
|
|
|
characters rb 100h
|
|
|
|
converted rb 100h
|
2007-12-31 02:34:37 +03:00
|
|
|
message rb 200h
|