Search Posts

Assembler encoding test : 16-Bit Addressing Forms with the ModR/M Byte

Code to test “16-Bit Addressing Forms with the ModR/M Byte”

// String instruction = “adc byte [ si+0x12], 0x1+0x20x3″; // String instruction = “adc byte [bx+si], 0x1+0x20x3″;
// String instruction = “adc byte [bx+di], 0x1+0x20x3″; // String instruction = “adc byte [bp+di], 0x1+0x20x3″;
// String instruction = “adc byte [si], 0x1+0x20x3″; // String instruction = “adc byte [di], 0x1+0x20x3″;
// String instruction = “adc byte [0xabcd], 0x1+0x20x3″; // String instruction = “adc byte [bx], 0x1+0x20x3″;
// String instruction = “adc byte [bx+si+0x7f], 0x1+0x20x3″; // String instruction = “adc byte [bx+di+0x7f], 0x1+0x20x3″;
// String instruction = “adc byte [bp+si+0x7f], 0x1+0x20x3″; // String instruction = “adc byte [bp+di+0x7f], 0x1+0x20x3″;
// String instruction = “adc byte [si+0x7f], 0x1+0x20x3″; // String instruction = “adc byte [di+0x7f], 0x1+0x20x3″;
// String instruction = “adc byte [bp+0x7f], 0x1+0x20x3″; // String instruction = “adc byte [bx+0x7f], 0x1+0x20x3″;
// String instruction = “adc byte [bx+si+0x1234], 0x1+0x20x3″; // String instruction = “adc byte [bx+di+0x1234], 0x1+0x20x3″;
// String instruction = “adc byte [bp+si+0x1234], 0x1+0x20x3″; // String instruction = “adc byte [bp+di+0x1234], 0x1+0x20x3″;
// String instruction = “adc byte [si+0x1234], 0x1+0x20x3″; // String instruction = “adc byte [di+0x1234], 0x1+0x20x3″;
// String instruction = “adc byte [bp+0x1234], 0x1+0x20x3″; // String instruction = “adc byte [bx+0x1234], 0x1+0x20x3″;
// String instruction = “adc mm0, 0x1+0x20x3″; // String instruction = “adc cl, 0x1+0x20x3″;
// String instruction = “adc dl, 0x1+0x20x3″; // String instruction = “adc bl, 0x1+0x20x3″;
// String instruction = “adc sp, 0x1+0x20x3″; // String instruction = “adc bp, 0x1+0x20x3″;
// String instruction = “adc si, 0x1+0x20x3″; // String instruction = “adc di, 0x1+0x20x3″;

Leave a Reply

Your email address will not be published. Required fields are marked *