finished first row of opcodes

This commit is contained in:
radumacocian
2025-06-30 15:58:53 +02:00
parent eddfb7a0c6
commit 0f4a97bbf2
6 changed files with 105 additions and 31 deletions

View File

@@ -1,5 +1,9 @@
package operations
func Shift(r1 *byte) {
func ShiftLeft(r1 *byte) {
*r1 = *r1 << 1
}
func ShiftRight(r1 *byte) {
*r1 = *r1 >> 1
}