Relative Content

Tag Archive for assemblylow-level

How does the ms_abi pass between c and assembely

I am working on a os and i am using the ms_abi and was wondering how does it pass arguments because i am moving some systemtable info into a register but when i try to call a function using the correct offset it freezes i think this is because of a incorrect use of the abi

basic assembly function giving memory error

I’m a beginner to assembly and taking an online crash course for it. One of the last challenges of the course is about function writing and calling. The idea is im supposed to recreate this function: