Something went wrong. Try again.
馃尡 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
12345678910111213package arm
import "git.urbach.dev/cli/q/src/cpu"
// DivSignedRegisterRegister divides source by operand and stores the value in the destination.func DivSignedRegisterRegister(destination cpu.Register, source cpu.Register, operand cpu.Register) uint32 { return 1<<10 | DivUnsignedRegisterRegister(destination, source, operand)}
// DivUnsignedRegisterRegister divides unsigned source by unsigned operand and stores the value in the destination.func DivUnsignedRegisterRegister(destination cpu.Register, source cpu.Register, operand cpu.Register) uint32 { return 0b10011010110<<21 | 0b00001<<11 | reg3(destination, source, operand)}