Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
2025-06-16 03:50:25 +01:00
9 changed files with 155 additions and 46 deletions
+6 -6
View File
@@ -11,12 +11,12 @@ pub fn assemble(src: &str) -> Vec<Instruction> {
todo!()
}
pub fn disassemble(binary: Vec<Instruction>) -> String {
// TODO: disassembling functionality
// - we probably don't need to implement this for a while yet.
// - this method should recover symbols such as labels and variables from the human written assembly, recognising
// sequences that are expansions of pseduo-instructions and reversing this to produce near enough the original source code.
/// TODO: disassembling functionality
/// - We probably don't need to implement this for a while yet.
/// - This method should recover symbols such as labels and variables from the human
/// written assembly, recognising sequences that are expansions of pseudo-instructions
/// and reversing this to produce near enough the original source code.
pub fn disassemble(_: Vec<Instruction>) -> String {
todo!()
}