Merge pull request #5 from CheetahPixie/patch-1

Remove the sp register from UNPRESERVED_REGS
This commit is contained in:
Laurent Vivier 2025-01-13 09:34:04 +01:00 committed by GitHub
commit 5044fbd700
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@
/*
* Inside Macintosh Volume I, I-94: Register Saving Conventions */
#define UNPRESERVED_REGS "%%a0", "%%a1", "%%a2", "%%d1", "%%d2", "%%sp", "memory"
#define UNPRESERVED_REGS "%%a0", "%%a1", "%%a2", "%%d1", "%%d2", "memory"
#define _Trap(a) #a
#define Trap(a) " dc.w "_Trap(a)" /* "#a" */\n"