首页 文章
  • 2 votes
     answers
     views

    我可以运行在dosbox中切换到保护模式的汇编程序吗?

    我们正在研究一个汇编程序,它将386处理器从实模式切换到保护模式,然后再切换回实模式 . 该程序使用TASM编译 . 因为这个程序需要做一些特权操作,并且它需要以实模式启动,所以我们需要从DOS运行它 . 为此,我们被告知带上软盘,以便我们可以在大学的计算机上启动DOS . 我想知道是否可以使用Dosbox . 但是它需要在保护模式和实模式下使用 faithfully emulate a I386...
  • 0 votes
     answers
     views

    在装配中对角打印数字

    我试图在装配中对角显示0-9,但是输出将我对角线打印的数字放在窗口的中间 . 这是代码: start: mov ah, 02h mov cl, 0Ah ;counter (10) mov dx, 02h ;mov bx, 02h mov dl, 30h ;start printing 0-9 mov dh, 02h ;start row mov al, 02h int 21h again: ...
  • 1 votes
     answers
     views

    没有回车的新行汇编语言

    我在dosbox程序集上做一个程序,我在对角线上打印0到9 . 这是我目前的代码 code segment assume cs:code, ds:code org 100h start: mov ah, 02h mov dl, 30h mov ch, 30h int 21h again: inc dl ;output next number mov bl, dl mov dl, 0ah ;n...

热门问题