看板 ASM 關於我們 聯絡資訊
想請問一個問題, 該怎麼把暫存器的值print出來? example .model small .586 .stack .data .code begin: mov ax,@data mov ds,ax mov dx,1111h mov ah,9h int 21h end begin 目前還沒找到方法,所以想請問一下各位前輩。 感謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.139.58.61
loveflames:查一下int 21h,有輸出字元的,剩下你要做ascii code 01/07 23:28
loveflames:的轉換 01/07 23:29
fancyrex:上面打錯了,是mov ah,2h.是hex 轉 ascii嗎? 01/07 23:33
eva19452002:請參考貝殼本 01/10 10:40