これは 16 ビット、リアル モード、NASM です。
; ---- variables ------
cursorRow db 1
.
.
.
; what are the differences between these two pushes?
push cursorRow ; is this the address of?
push [cursorRow] ; is this the value of?
cursorRow がパラメーターである関数でこの変数を変更するのに問題があります。私が投稿した関連する質問: Updating variable that lives in the data segment from the stack and its segment