Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .data
- str1: .asciz "pepereloco"
- str2: .asciz "pepereloco"
- lng: .quad 10
- .text
- .global main
- main:
- cld # izq a der
- movq lng, %rcx
- movq $str1, %rsi
- movq $str2, %rdi
- for1:
- cmpsb
- loope for1
- movq $0, %rax
- jne fin
- movq $1, %rax
- fin:
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement