Improved function names

This commit is contained in:
Eduard Urbach 2024-06-25 23:37:14 +02:00
parent 37e222e022
commit 871ebc147f
Signed by: eduard
GPG key ID: 49226B848C78F6C8
19 changed files with 94 additions and 114 deletions

View file

@ -2,8 +2,8 @@ package x64
import "git.akyoto.dev/cli/q/src/build/cpu"
// DivReg divides RDX:RAX by the value in the register.
func DivReg(code []byte, divisor cpu.Register) []byte {
// DivRegister divides RDX:RAX by the value in the register.
func DivRegister(code []byte, divisor cpu.Register) []byte {
rex := byte(0x48)
if divisor >= 8 {