kiranvshah / little-man-computer

CS A level coursework
https://littlemancomputer.netlify.app
0 stars 0 forks source link

terminology for code forms #16

Open kiranvshah opened 1 week ago

kiranvshah commented 1 week ago

three types of code forms:

  1. user-written code
  2. cleaned-up code (without comments, labels become numerical addresses)
  3. code in memory (opcodes also numerical. everything numerical now)

decide on proper names for these and use them in report and in backend code (especially compile_assembly.py)

kiranvshah commented 1 week ago

things to check out: https://en.wikipedia.org/wiki/Object_code https://en.wikipedia.org/wiki/Register_transfer_language https://en.wikipedia.org/wiki/Intermediate_representation

kiranvshah commented 1 week ago

also think about "assemble" vs "compile" for verb of compile_assembly.py. is currently assemble on frontend but i wonder if compile makes more sense

kiranvshah commented 5 days ago

this objective would benefit from clearer terminology:

1.1.2. There is a button to assemble the user-written code. This will create the compiled (cleaned-up) code and load the compiled code into memory.