update
This commit is contained in:
@ -28,9 +28,11 @@
|
||||
; C Prototyp: void Coroutine_start (struct CoroutineState* regs);
|
||||
|
||||
;; Coroutine_start is called with one arg: CoroutineState* regs, so the main stack looks like this:
|
||||
;; NOTE: Since this assembly is not generated by the compiler, there is no ebp prelude.
|
||||
;; To address parameters we use esp.
|
||||
;; == High address ==
|
||||
;; *REGS
|
||||
;; SP: RET ADDR
|
||||
;; ESP: RET ADDR
|
||||
;; == Low address ==
|
||||
Coroutine_start:
|
||||
; *
|
||||
|
||||
Reference in New Issue
Block a user