You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently assembly programs need to push all the registers before calling main then pop the registers before the program returns. Most other operating systems do this for you, so it is confusing for new developers. C programs also need to include assembly to do the same before calling into main.
Writing code like this in every program seems a waste. It would be much easier if MOS did it before and after running the program.
Currently assembly programs need to push all the registers before calling main then pop the registers before the program returns. Most other operating systems do this for you, so it is confusing for new developers. C programs also need to include assembly to do the same before calling into
main
.Writing code like this in every program seems a waste. It would be much easier if MOS did it before and after running the program.
Added bonus, also parse the arguments and put them in a defined location in memory? 😄
The text was updated successfully, but these errors were encountered: