Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
数値 (以前にプッシュしたもの) を受け取り、それを出力する関数を作成しようとしています。どうすればいいですか?
私がこれまでに持っているもの:
org 100h push 10 call print_num print_num: push bp mov bp, sp mov ax, [bp+2*2] mov bx, cs mov es, bx mov dx, string mov di, dx stosw mov ah, 09h int 21h pop bp ret string: