added shift function and tests

This commit is contained in:
radumacocian
2025-04-29 19:26:31 +02:00
parent f54363069c
commit 72d2c5d97c
2 changed files with 22 additions and 0 deletions

5
cpu/operations/shift.go Normal file
View File

@@ -0,0 +1,5 @@
package operations
func Shift(r1 *byte) {
*r1 = *r1 << 1
}