Translate A instructions without symbols

This commit is contained in:
Hazem Krimi
2024-03-08 20:11:44 +01:00
parent 2117f916c9
commit 90b2a5f5e7
4 changed files with 80 additions and 31 deletions
+9
View File
@@ -0,0 +1,9 @@
pub fn decimal_to_binary(decimal: &i32) -> String {
String::from(format!("{decimal:015b}"))
}
// fn translate_dest(dest: &String) -> String {
// let cloned = dest.clone();
// cloned
// }