Trying to code a 32-bit Boolean calculator, it assembles and runs and everything. But when I try to OR two 32-bit numbers together for example, I keep getting 00000000. Can you find my error logic please?
First of all you are loading firstNum and secondNum in the same register eax. So secondNum overwrites firstNum. I do not see any sense in this operation. Also it is not clear what is the relation between for example firstHex and firstNum.
It has a direct relation with C++ because 1) object code of C++ is an assembler code and 2) you should be able to debug your code on the level of the object code.