hatsoff
April 24th, 2013, 08:39 PM
What is the instruction to invert content of a register?
I'm using these two instructions to do a AND logical operation b/w two registers and store its result in 3rd seprate register:
have a look!
and ax, dx ; AND operation b/w ax and dx register and storing its result in ax first then ->
mov bx, ax ; storing result in bx
Cant it happen simultanously (Imean and operation and storing result in seprate register) in one instruction?
I'm using NASM assembler and AFD debugger.
Thanks
I'm using these two instructions to do a AND logical operation b/w two registers and store its result in 3rd seprate register:
have a look!
and ax, dx ; AND operation b/w ax and dx register and storing its result in ax first then ->
mov bx, ax ; storing result in bx
Cant it happen simultanously (Imean and operation and storing result in seprate register) in one instruction?
I'm using NASM assembler and AFD debugger.
Thanks