aNdReA9111 / PandOS

µPandOS is an educational microkernel operating system
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Problems with gpr #11

Closed aNdReA9111 closed 5 months ago

aNdReA9111 commented 5 months ago

change the general purpose register with the status register

leonardo3130 commented 5 months ago

In libumps.h c'è la funzione getSTATUS per ottenere il valore dello status register e setSTATUS per settarlo, se invece vuoi lavorare sullo status dello state_t devi accedere ad esso con st.status dove st è un elemento di tipo state_t.