1
I was debugging a program and I came up with the following question, had architecture is 32 Bits Intel and had the following instruction MOV EAX, DWORD PTR SS[0X401049], and below that instruction had the following command MOV EDX, DWORD PTR SS[0X40104A]. My doubt is that in the first instruction the EAX record received 4 byte of data , and in the second only one byte of data.
Why of this being that each memory address on a 32-bit architecture has 32 bits.
Would not have to transfer 4 bytes also to the second instruction?
Two things. Put more descriptive titles of your real problem. Nor start with doubt, because everyone who puts a question here is in doubt. It is redundant and does not describe the problem. Put tags that has to do with the problem. Do not use"C" in all your questions. Just use this tag when it’s about C. And always give as much detail as possible. Show how you came to the conclusion posted in the question, who knows your statement is that you are wrong.
– Maniero
From what I can see moved 2x 4 bytes. DWORD is 4 bytes I can’t see the problem.
– krystalgamer
You’re one short
;
on line 42 ... or why C?– pmg