Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

Registers, quick question

OpenStudy (anonymous):

Whats happens when I load an integer to a register (assume X86 architecture). lets say I load variable n into register %ecx, whats gets stored at %ch, %cl (which are byte sizes inside %ecx),

OpenStudy (anonymous):

Of the 32 bits stored in %ecx, I think the lowest 16 bits will be available through %cx. Those 16 bits are further divided in the 8 highest bits (%ch) and the eight lowest bits (%cl). So suppose the number you store in %ecx is 0x12345678, %cx will contain 0x5678, %ch will be 0x56 and %cl will be 0x78.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!