|
Dear masters, Little D has begun to compile. I have encountered a small problem. I can't figure it out. I hope you can take the time to give me pointers. Thank you ~~
Little D studied Wang Shuang's "Assembly Language". He learned the flag register and encountered a small problem.
The flag register has several flag bits such as cf, pf, zf, sf, of, and df.
Pushf pushes the value of the flag register onto the stack
Popf is popping values
The main thing D didn't understand was, did Pushf push all the flag values into the stack?
I have used debug to monitor that sp is fec before pushing the stack, and spee is fee after pushing the stack. Here we calculate the space of 2 bytes, and put the values of cf, pf, zf, sf, of, and df. Obviously Isn't it enough, isn't pushf pushed all the flag values into the stack, or is it just the stack part?
I hope that the master who knows can answer me, thank you very much! Thank you! |
|