tangled
alpha
login
or
join now
tjh.dev
/
um32
1
fork
atom
Implementation of the UM-32 "Universal Machine" as described by the
Cult of the Bound Variable
1
fork
atom
overview
issues
pulls
pipelines
fix tests
tjh
1 year ago
4d5e1f1e
6117c566
+2
-2
1 changed file
expand all
collapse all
unified
split
src
asm.rs
+2
-2
src/asm.rs
···
206
206
"#,
207
207
);
208
208
209
209
-
let ops = crate::decode_ops(&program);
209
209
+
let ops = crate::ops::decode(&program);
210
210
assert_eq!(ops[0], Operation::Orthography { a: R0, value: 1 });
211
211
212
212
let mut platters = program.into_iter().skip(1);
···
232
232
"#,
233
233
);
234
234
235
235
-
let mut ops = crate::decode_ops(&program).into_iter();
235
235
+
let mut ops = crate::ops::decode(&program).into_iter();
236
236
237
237
assert_eq!(ops.next(), Some(Operation::Halt));
238
238
assert_eq!(