To print a letter in assembly I can do something like:
y: .ascii "y" mov $SYS_STDOUT, %edi lea y, %rsi mov $1, %edx mov $SY