Unhandled exception at 0x0110101a in IndirectoffsetAddress.exe: 0xC0000005: Access violation writing location 0x0110004d

0

I had a problem with assembly code: Here is my code:

.data
m byte "ManshaDar"

.code
main proc
mov eax, offset m
mov al, [eax]
mov ah, [eax+2]
mov [eax], ah
mov [eax+2], al
main endp
end main

Assembler is throwing following exception: Unhandled exception at 0x0110101a in IndirectoffsetAddress.exe: 0xC0000005: Access violation writing location 0x0110004d.

How should I overcome this problem?

assembly
asked on Stack Overflow Oct 8, 2018 by Muhammad Mansha • edited Oct 8, 2018 by Muhammad Mansha

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0