6502/vbcc/targets/ppc-morphos/include/inline/string_protos.h
2022-05-12 21:36:39 +09:30

20 lines
387 B
C

#ifndef _VBCCINLINE_STRING_H
#define _VBCCINLINE_STRING_H
#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
#ifndef EMUL_EMULREGS_H
#include <emul/emulregs.h>
#endif
Class * __STRING_GetClass(void *) =
"\tlwz\t11,100(2)\n"
"\tstw\t3,56(2)\n"
"\tmtctr\t11\n"
"\tli\t3,-30\n"
"\tbctrl";
#define STRING_GetClass() __STRING_GetClass(StringBase)
#endif /* _VBCCINLINE_STRING_H */