adc dst, num
| 623 | |
| 624 | // adc dst, num |
| 625 | int x86ADC(unsigned char *stream, x86Reg dst, int num) |
| 626 | { |
| 627 | if((char)num == num) |
| 628 | { |
| 629 | stream[0] = 0x83; |
| 630 | stream[1] = encodeRegister(dst, 2); |
| 631 | stream[2] = (char)num; |
| 632 | return 3; |
| 633 | } |
| 634 | stream[0] = 0x81; |
| 635 | stream[1] = encodeRegister(dst, 2); |
| 636 | *(int*)(stream+2) = num; |
| 637 | return 6; |
| 638 | } |
| 639 | // adc dst, src |
| 640 | int x86ADC(unsigned char *stream, x86Reg dst, x86Reg src) |
| 641 | { |
no test coverage detected