1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* * System call support for simulator in gdb. * * COPYRIGHT (c) 2011 Anthony Green <green@moxielogic.com> */ #define SYS_write 5 .section .text .align 2 .global _sys_write _sys_write: swi SYS_write ret .end