println! playing.
This commit is contained in:
parent
31143cac1d
commit
75670b9de9
23
src/main.rs
23
src/main.rs
|
@ -10,18 +10,19 @@ fn main() {
|
|||
|
||||
println!("\nRegister:");
|
||||
println!("{}", reg);
|
||||
println!("{:b}", reg);
|
||||
|
||||
println!("\nShifted right:");
|
||||
reg.r_shift();
|
||||
println!("{}", reg);
|
||||
|
||||
println!("\nShifted left:");
|
||||
reg.l_shift();
|
||||
println!("{}", reg);
|
||||
|
||||
println!("\nReversed:");
|
||||
reg.reverse();
|
||||
println!("{}", reg);
|
||||
// println!("\nShifted right:");
|
||||
// reg.r_shift();
|
||||
// println!("{}", reg);
|
||||
//
|
||||
// println!("\nShifted left:");
|
||||
// reg.l_shift();
|
||||
// println!("{}", reg);
|
||||
//
|
||||
// println!("\nReversed:");
|
||||
// reg.reverse();
|
||||
// println!("{}", reg);
|
||||
|
||||
// println!("{}", true);
|
||||
// println!("{}", true);
|
||||
|
|
Loading…
Reference in New Issue