arm64

package
v0.0.0-...-3503691 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2025 License: 0BSD Imports: 2 Imported by: 0

Documentation

Overview

Package arm64 provides an instruction set specification for the ARM64 architecture.

Index

Constants

View Source
const (
	X0 cpu.GPR = iota
	X1
	X2
	X3
	X4
	X5
	X6
	X7
	X8
	X9
	X10
	X11
	X12
	X13
	X14
	X15
	X16
	X17
	X18
	X19
	X20
	X21
	X22
	X23
	X24
	X25
	X26
	X27
	X28
	X29
	X30
	X31
	SP
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InstructionSet

type InstructionSet struct {
	bin.Format `bin:"arm64,reverse"` // reversed byte order to match ARM documentation table bits.

	Math struct {
		Add func(a, b, c cpu.GPR) `bin:"10001011 000ccccc 000000bb bbbaaaaa"`
	}
	Return func() `bin:"11010110 01011111 00000011 11000000"`
}

InstructionSet specification. https://developer.arm.com/documentation/ddi0602/2023-06/Base-Instructions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL