emu8086

    0热度

    1回答

    我尽量让“#”屏幕和另一侧的左侧将是“$”上,但它没有停止对25 * 40 .MODEL TINY .CODE .STARTUP CLD MOV AX, 0B800H ;for open screen MOV ES, AX MOV DI, 0 MOV CX, 25*40 ;try to divide screen MOV AX

    1热度

    1回答

    我是这种语言的新手,并试图熟悉它。在这个例子中,我得到一个“错误的地址”错误,但是它有什么问题? hextoasc proc near ; AX input, si point result storage address push ax bx cx dx si di bp es mov cx,00h mov bx,0ah hexloop1: mov dx,0 div bx ad

    -1热度

    1回答

    如何在组件8086的中断21中使用ah而不是al?

    1热度

    1回答

    我遇到问题。我必须在8086程序集中编写一个程序,用字符串填充数组,然后仅打印字符“a,e,e,i,i,o,o,u,u”。 我已经成功地打印出数组内的每一个字符,但是当我开始加入条件和跳跃,我的程序刚刚进入一个无限循环:( Here's整个代码: org 100h jmp main ;messsages to be shown: msg1 db 'this is

    0热度

    1回答

    ;program starts TABLE DB 0, 2, 0, 2, 0, 0, 4, 0, 0, 1, 0, 0, 3, 0, 1, 0 TABLE1 DB ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? MOV SI, OFFSET TABLE MOV DI, OFFSET TABLE1 MOV AL, [SI] MOV [D

    5热度

    1回答

    鉴于是Intel 8086处理器的汇编程序,其增加了的数字阵列: .model small .stack 100h .data array dw 1,2,3,1,2 sum dw ?,", is the sum!$" .code main proc mov ax,@data mov ds,ax mov di,0 repea

    2热度

    1回答

    我使用程序集8086emu,我需要一个8位数的数字发生器。 我试图@johnfound使用这段代码: RANDGEN: ; generate a rand no using the system time RANDSTART: MOV AH, 00h ; interrupts to get system time INT 1AH ; CX:DX now hold

    1热度

    1回答

    我正在使用emu8086汇编程序,我是汇编语言新手。我想用黑色背景以黄色打印所有A-Z字母。我的循环不工作。它继续运行,只有B字母显示。 有人可以帮我吗?这里是我的代码: include emu8086.inc ORG 100h MOV AX,0B800h MOV DS,AX MOV CX,26 ALPHABETS: MOV CL,41h ADD CX,1 MOV CH,00001

    0热度

    2回答

    这个代码就像模拟图灵机一样。我正在检测这个代码,我提出要改变它的确定,但我不明白如何改变堆栈内容与CALL和RET .model small .data bant db 0,0,0,0,0,0,0,0,0 .code .startup mov si,4 call stateA .exit stateA proc near cmp bant[si],0 je AB jmp

    1热度

    1回答

    我所经历的鸸鹋8086个例子并坚持以下thermometer.asm代码 #start=thermometer.exe# ; temperature rises fast, thus emulator should be set to run at the maximum speed. ; if closed, the thermometer window can be re-opened