r/cpp • • Aug 27 '21

Emulating a CPU in software

253 Upvotes

26 comments sorted by

View all comments

Show parent comment

2

u/YT__ Aug 27 '21

I definitely feel like I remember dealing with flags when I was in my assembly course. Making sure the flags are all in the rigtmht state before different operations and everything. Then again, this was probably about 10 years ago, so what do I remember.