What happens when we try to set the register of the currently executing code?
CodeProject has an article that says:
CS always holds the segment of the currently executing code. You cannot
set CS by using, say, mov cs,ax. When you call a function that resides in
another segment (FAR call), or when you jump to another segment (FAR
jump), CS changes.
So what happens when we try to modify the register directly by using mov
cs, ax?
No comments:
Post a Comment