Fixed an incorrect register move

This commit is contained in:
Eduard Urbach 2024-08-02 15:06:32 +02:00
parent 8766a4ef1a
commit 08d5f38072
Signed by: eduard
GPG key ID: 49226B848C78F6C8
2 changed files with 7 additions and 1 deletions

View file

@ -2,8 +2,10 @@ import log
import sys
main() {
x := 12
collatz(12)
}
collatz(x) {
loop {
if x & 1 == 0 {
x /= 2