Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2015-12

Re: x86ins.dat bytes format description

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Florian Klämpfl
Bishop wrote 15 lines
Hi all. I am working on adding support of TSX instructions to FPC compiler. So i need modify x86ins.dat. In sections "bytes" this file contains not only opcode byte. In aditional it contains some control codes that describe generation of prefixes, schema of operands coding and etc. In some message on this mailing list i found that: \ 361 = prefix 066h for SSE instruction \ 362 = new flag VEX (starting with 0xC5 or 0xC4) \ 372 = new flag VEX-CODE include prefix 0x0F3A \ 75 = VEX-BYTE contains operand no. 2 \ 120 = operands 1 and 3 encoded in MODRM-Byte \ 77 = immediate byte (bit 4-7) contains 4th operand \ 00 = immediate byte (bit 0-3) = 0 But i need information about other control codes. Can someone give me advise: where i can found full description of those control codes?

fpc/compiler/x86/aasmcpu.pas starting at line 2464.

Reply by email