We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8154e20 commit aa2c17fCopy full SHA for aa2c17f
Lab2/16.asm
@@ -0,0 +1,25 @@
1
+.model small
2
+.code
3
+ MOV AH, 1
4
+ INT 33
5
+ XOR CX, CX
6
+
7
+start:
8
+ CMP AL, 9
9
+ JLE exit
10
+ INC CL
11
+ SUB AL, 10
12
+ JMP start
13
14
+exit:
15
+ MOV DL, 'A'
16
+ TEST CL, 1
17
+ JZ print
18
+ INC DL
19
20
+print:
21
+ MOV AH, 2
22
23
+ MOV AH, 76
24
25
+END
Lab2/18.asm
@@ -1,13 +1,11 @@
.model small
.code
-i33:
INT 33
- CMP AH, 2
- JE exit
- MOV DL, 'C'
- MOV AH, 2
- JMP i33
-exit:
MOV AH, 76
- INT 33
-END
+e1:
+ MOV DL, 'C'
+END e1
0 commit comments