println! playing.

This commit is contained in:
Rhinemann 2023-06-26 00:47:01 +03:00
parent 31143cac1d
commit 75670b9de9
1 changed files with 12 additions and 11 deletions

View File

@ -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);