When compiling connection to display the error A2107: Non - digit in munber. I didn't find looked non-numeric characters, and for bosses to help take a look at the code
CODE SEGMENT
ASSUME CS: CODE
START:
Mov ax, 1000 h
Mov ss, ax
Mov sp, 0010 h
MOV AX, 0
MOV BX, 1
L0: ADD AX, BX
INC BX
CMP BX, 100
JBE L0
MOV DL, 0
CX, MOV 3
MOV BL, 10
L1: DIV BL
PUSH AX
MOV AH, 0
LOOP L1
XCHG AH, AL
PUSH AX
CX, MOV 4
L2: POP DX
XCHG DH, DL
The ADD DL, 30 h
MOV AH, 2
INT 21 h
MOV DX, 0
LOOP L2
MOV AH, 4 c
INT 21 h
CODE ENDS
END the START
CodePudding user response:
In the fourth row from bottom, less 4 c H, should prompt the line number of the problem, look not to come out to go there?
CodePudding user response:
reference 1/f, zara's reply: in the fourth row from bottom, less 4 c H, should prompt the line number of the problem, look not to come out to go there? Ah really is, thank you, that when writing the compiled files if the character does not add H, dosbox default it is hexadecimal or decimal number CodePudding user response:
There is a problem, I again with u after import file command view code why only show to PUSH? Help bosses look where I write wrong,, Just started to learn assembly, many don't understand the I want to achieve from 1 to 100 of the code and then use division order will each extract and display CodePudding user response:
Which tube the dosbox, assembler default decimal but 4 c or H default only refers to the pure digital, the debug only hexadecimal is brought into the system modification, The show only to push for a show only 16 bytes, to show the following, then U enter again, or U & lt; Address & gt; L & lt; Length & gt; Specifies the number of bytes of the disassembly, but is too big, will roll out of the screen, CodePudding user response:
Zara refer to 4th floor response: which tube the dosbox, assembler default decimal but 4 c or H default only refers to the pure digital, the debug only hexadecimal is brought into the system modification, The show only to push for a show only 16 bytes, to show the following, then U enter again, or U & lt; Address & gt; L & lt; Length & gt; Specify the number of bytes of the disassembly, but is too big, will roll out of the screen, Understand, thank you bosses!!!!!