feat: spec complaint program encoding
Co-authored-by: rvcas <x@rvcas.dev>
This commit is contained in:
@@ -11,7 +11,13 @@ fn main() -> anyhow::Result<()> {
|
||||
|
||||
println!("{:#?}", program);
|
||||
|
||||
println!("{:?}", program.flat()?);
|
||||
let flat_bytes = program.flat()?;
|
||||
|
||||
for byte in flat_bytes {
|
||||
print!("{:08b} ", byte);
|
||||
}
|
||||
|
||||
println!();
|
||||
|
||||
println!("{}", program.flat_hex()?);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user