IDA SDK
Macros
Assembler feature bits

Detailed Description

Used by asm_t::flag.

Macros

#define AS_OFFST   0x00000001L
 offsets are 'offset xxx' ?
 
#define AS_COLON   0x00000002L
 create colons after data names ?
 
#define AS_UDATA   0x00000004L
 can use '?' in data directives
 
#define AS_2CHRE   0x00000008L
 double char constants are: "xy
 
#define AS_NCHRE   0x00000010L
 char constants are: 'x
 
#define AS_N2CHR   0x00000020L
 can't have 2 byte char consts
 
#define AS_1TEXT   0x00000040L
 1 text per line, no bytes
 
#define AS_NHIAS   0x00000080L
 no characters with high bit
 
#define AS_NCMAS   0x00000100L
 no commas in ascii directives
 
#define AS_HEXFM   0x00000E00L
 mask - hex number format
 
#define ASH_HEXF0   0x00000000L
 34h
 
#define ASH_HEXF1   0x00000200L
 h'34
 
#define ASH_HEXF2   0x00000400L
 34
 
#define ASH_HEXF3   0x00000600L
 0x34
 
#define ASH_HEXF4   0x00000800L
 $34
 
#define ASH_HEXF5   0x00000A00L
 <^R > (radix)
 
#define AS_DECFM   0x00003000L
 mask - decimal number format
 
#define ASD_DECF0   0x00000000L
 34
 
#define ASD_DECF1   0x00001000L
 #34
 
#define ASD_DECF2   0x00002000L
 34.
 
#define ASD_DECF3   0x00003000L
 .34
 
#define AS_OCTFM   0x0001C000L
 mask - octal number format
 
#define ASO_OCTF0   0x00000000L
 123o
 
#define ASO_OCTF1   0x00004000L
 0123
 
#define ASO_OCTF2   0x00008000L
 123
 
#define ASO_OCTF3   0x0000C000L
 @123
 
#define ASO_OCTF4   0x00010000L
 o'123
 
#define ASO_OCTF5   0x00014000L
 123q
 
#define ASO_OCTF6   0x00018000L
 ~123
 
#define ASO_OCTF7   0x0001C000L
 q'123
 
#define AS_BINFM   0x000E0000L
 mask - binary number format
 
#define ASB_BINF0   0x00000000L
 010101b
 
#define ASB_BINF1   0x00020000L
 ^B010101
 
#define ASB_BINF2   0x00040000L
 %010101
 
#define ASB_BINF3   0x00060000L
 0b1010101
 
#define ASB_BINF4   0x00080000L
 b'1010101
 
#define ASB_BINF5   0x000A0000L
 b'1010101'
 
#define AS_UNEQU   0x00100000L
 replace undefined data items with EQU (for ANTA's A80)
 
#define AS_ONEDUP   0x00200000L
 One array definition per line.
 
#define AS_NOXRF   0x00400000L
 Disable xrefs during the output file generation.
 
#define AS_XTRNTYPE   0x00800000L
 Assembler understands type of extern symbols as ":type" suffix.
 
#define AS_RELSUP   0x01000000L
 Checkarg: 'and','or','xor' operations with addresses are possible.
 
#define AS_LALIGN   0x02000000L
 Labels at "align" keyword are supported.
 
#define AS_NOCODECLN   0x04000000L
 don't create colons after code names
 
#define AS_NOSPACE   0x10000000L
 No spaces in expressions.
 
#define AS_ALIGN2   0x20000000L
 .align directive expects an exponent rather than a power of 2 More...
 
#define AS_ASCIIC   0x40000000L
 ascii directive accepts C-like escape sequences More...
 
#define AS_ASCIIZ   0x80000000L
 ascii directive inserts implicit zero byte at the end
 

Macro Definition Documentation

#define AS_ALIGN2   0x20000000L

.align directive expects an exponent rather than a power of 2

(.align 5 means to align at 32byte boundary)

#define AS_ASCIIC   0x40000000L

ascii directive accepts C-like escape sequences

(\n,\x01 and similar)