nuclear@51: #define ASM nuclear@51: #include nuclear@44: nuclear@44: .text nuclear@44: .globl test_proc nuclear@44: test_proc: nuclear@44: /* --- print a message --- */ nuclear@44: movl $SYS_HELLO, %eax nuclear@44: int $SYSCALL_INT nuclear@44: nuclear@44: /* --- sleep for 5 seconds --- */ nuclear@44: movl $SYS_SLEEP, %eax nuclear@44: movl $5, %ebx nuclear@44: int $SYSCALL_INT nuclear@44: nuclear@44: jmp test_proc nuclear@44: nuclear@44: .globl test_proc_end nuclear@44: test_proc_end: