SWAP without temp variable and with rotation

July 2, 2010 at 01:28:17
Specs: Windows XP
Hi:
How can i swap values in 2 register without using temp register with rotation and shift instruction in x86 assembly.

Thanx


See More: SWAP without temp variable and with rotation

Report •


#1
July 2, 2010 at 06:13:28
Would XCHG R1,R2 fit the bill in this case?

Insomniac at large


Report •

#2
July 2, 2010 at 06:59:27
just with rotation and shift instruction no any other instruction .

Report •

#3
July 2, 2010 at 17:15:26
Sounds like a programming course homework exercise to me...

Report •
Related Solutions


Ask Question