Added basic support for arm64

This commit is contained in:
2025-03-06 13:40:17 +01:00
parent 14abb8202b
commit 2f09b96f34
25 changed files with 270 additions and 33 deletions

6
src/arm/Return.go Normal file
View File

@ -0,0 +1,6 @@
package arm
// Return transfers program control to the caller.
func Return(code []byte) []byte {
return append(code, 0xC0, 0x03, 0x5F, 0xD6)
}