Files
goboy/cpu/operations/shift.go
2025-06-30 15:58:53 +02:00

10 lines
112 B
Go

package operations
func ShiftLeft(r1 *byte) {
*r1 = *r1 << 1
}
func ShiftRight(r1 *byte) {
*r1 = *r1 >> 1
}