Improved function names
This commit is contained in:
parent
37e222e022
commit
871ebc147f
19 changed files with 94 additions and 114 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue