yazdmich

Untitled

Feb 2nd, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. get source file
  2. if config file in same dir, apply pre-build configs and insert any code fragments
  3. turn source file to tokenized list and find data declarations, remove and reserve for later
  4. parse tokens
  5. find subprogram declarations, remove and reserve for later
  6. insert subprogram call addresses and subprogram bodies into RAM
  7. finalize callable process
  8. convert variable names to pointers and insert data into RAM
  9. clean up RAM image
  10. place clean image in new RAM object for passing to CPU object
  11. compute init address
  12. pass RAM object and init address to CPU
  13. CPU run
Advertisement
Add Comment
Please, Sign In to add comment