First Upload

This commit is contained in:
2022-02-25 15:33:16 +02:00
commit 0c74d10f0d
295 changed files with 74784 additions and 0 deletions

20
2/test.asm Normal file
View File

@@ -0,0 +1,20 @@
mov bh, 0
mov ah, cl
begin:
cmp ch, ah ; if ah > ch jump to lower
jg lower
mov al, ah
mov ah, ch
mov ch, al
lower:
cmp bh, ch ; if ch < bh jump to finish
jg finish
mov bh, ch
finish:
mov ch, dl
mov dl, dh
mov dh, 0
cmp ch, 0
je the_end ; if ch == 0 jump to the_end
jmp begin
the_end: