I want to swap to 8 bit variables var1 and var2, using registers, but it give me this error. What is wrong with this code?
include irvine32.inc
.data
var1 byte 20
var2 byte 30
.code
main proc
mov al,var2
mov var2,var1
mov var1,al
call dumpregs
exit
main endp
end main