scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

x86.dat (898B)


      1 # Tab 16, tabs 16, :set ts=16
      2 # op	args	size	bytes	format	cpu
      3 .DB	imm8+	0	none	defb	BITS16,BITS32,BITS64
      4 .DEFB	imm8+	0	none	defb	BITS16,BITS32,BITS64
      5 .BYTE	imm8+	0	none	defb	BITS16,BITS32,BITS64
      6 .DW	imm16+	0	none	defw	BITS16,BITS32,BITS64
      7 .DEFW	imm16+	0	none	defw	BITS16,BITS32,BITS64
      8 .SHORT	imm16+	0	none	defw	BITS16,BITS32,BITS64
      9 .WORD	imm16+	0	none	defw	BITS16
     10 .WORD	imm32+	0	none	defd	BITS32,BITS64
     11 .DD	imm32+	0	none	defd	BITS16,BITS32,BITS64
     12 .DEFD	imm32+	0	none	defd	BITS16,BITS32,BITS64
     13 .LONG	imm32+	0	none	defd	BITS16,BITS32
     14 .LONG	imm64+	0	none	defq	BITS64
     15 .INT	imm32+	0	none	defd	BITS32,BITS64
     16 .INT	imm16+	0	none	defd	BITS16
     17 .DQ	imm64+	0	none	defq	BITS16,BITS32,BITS64
     18 .DEFQ	imm64+	0	none	defq	BITS16,BITS32,BITS64
     19 .EQU	imm16	0	none	equ	BITS16
     20 .EQU	imm32	0	none	equ	BITS32
     21 .EQU	imm64	0	none	equ	BITS64
     22 NOP	none	1	0x90	noargs	BITS16,BITS32,BITS64
     23 RET	none	1	0xc3	noargs	BITS16,BITS32,BITS64