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

20 lines
394 B
C

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