I encountered a sort of dilemma
I almost am done emulating the CPU and now i got the pull all flags off the stack
And i actually divided the flags into a series of variables other than one byte
And pushing 8 variables of int type onto the stack is going to mess it all up
So i thought of this idea and i just wanted to confirm and consult it with you people
I thought maybe i could parse it into a char type variable the all 8 integers
and then put it as one chunk up
and when i pull it i will do the same thing only reversely And segment it again into the 8 int variables
what do you people think
I almost am done emulating the CPU and now i got the pull all flags off the stack
And i actually divided the flags into a series of variables other than one byte
And pushing 8 variables of int type onto the stack is going to mess it all up
So i thought of this idea and i just wanted to confirm and consult it with you people
I thought maybe i could parse it into a char type variable the all 8 integers
and then put it as one chunk up
and when i pull it i will do the same thing only reversely And segment it again into the 8 int variables
what do you people think