在屏幕上打印的ASCII字符 [英] Print ascii character on screen

查看:210
本文介绍了在屏幕上打印的ASCII字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写汇编引导程序(NASM指令集),但由于某种原因它不显示任何字母。

  [位16]
[ORG 0x7C00]JMP $MOV AL,0x65
MOV AH,为0x0E
MOV BL,0×07
MOV BH,为0x00INT为0x10TIMES 510 - ($ - $$)0分贝
DW 0xAA55将

我所看到的是_光标。


解决方案

  JMP $

跳转到自身。删除它会让对方code运行

I am writing a bootloader in assembly (NASM instruction set), but for some reason it doesn't show any letter.

[BITS 16]
[ORG 0x7C00]

JMP $ 

MOV AL, 0x65
MOV AH, 0x0E
MOV BL, 0x07
MOV BH, 0x00

INT 0x10

TIMES 510 - ($ - $$) db 0
DW 0xAA55

All I see is the _ cursor.

解决方案

JMP $

Jumps to itself. Removing it will let the other code run

这篇关于在屏幕上打印的ASCII字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆