gloss_tag

This commit is contained in:
neza 2023-03-17 19:13:47 +03:00
parent 69381c130b
commit ba4ed3866b
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ conv:
ret
.bss
#buf: .space 24 #min 21
//buf: .space 24 #min 21
.data
bye: .ascii "It was "
bye_len = . - bye

View File

@ -25,7 +25,7 @@ _start:
mov %eax, -4(%rbp)
movl $0, -8(%rbp)
.l3: addl $1, -8(%rbp)
.l1: addl $1, -8(%rbp)
call scan
cmpl %eax, -4(%rbp)
je .eq
@ -37,12 +37,12 @@ _start:
mov $mo_len, %esi
mov $mo, %rdi
call say
jmp .l3
jmp .l1
.le: mov $le_len, %esi
mov $le, %rdi
call say
jmp .l3
jmp .l1
.eq: mov $won_len, %esi
mov $won, %rdi