[Solved] Compact implementation of logical AND in x86 assembly [closed]
MUL BX OR AX, DX On older machines this might not be very fast compared to longer answers. 10 solved Compact implementation of logical AND in x86 assembly [closed]
MUL BX OR AX, DX On older machines this might not be very fast compared to longer answers. 10 solved Compact implementation of logical AND in x86 assembly [closed]
This an ancient DOS Protected Mode Interface system call to set a protected mode interrupt vector. See eg http://www.delorie.com/djgpp/doc/dpmi/api/310205.html. The compiler was probably DJGPP. Porting this to a different OS and/or runtime system will require a redesign from scratch to reimplement whatever functionality the interrupt handlers provided under DPMI. Good luck to you with that. … Read more
In x86 you don’t need a cascading sequence of jumps, since jmp can jump over the whole segment. Just a conditional jump like jne has a limited range. So you can change an errorneous conditional jump to a combination of an unconditional near jump and a conditional short jump: As an example, change .MODEL small … Read more