42-archive/libftasm/srcs/ft_islower.s
2017-08-27 22:29:48 +02:00

12 lines
142 B
ArmAsm

global _ft_islower
global ft_islower
_ft_islower:
ft_islower:
mov rax, 0
cmp rdi, 'a'
jl end
cmp rdi, 'z'
jg end
mov rax, rdi
end: ret