Skip to content

qazwsxedcrfvtg14/Hack-Assembly-Language-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hack Assembly Language Compiler

  • What is Hack Assembly?

  • This is a simple compiler that can compile JLang to Hack Assembly.

  • This compiler implement these functions:

    • assembly optimization
      • dead code elimination
      • operation combine
      • duplicate operation elimination
    • stack frame
      • return address
      • function arguments
      • return value
    • loop & conditions
      • with variable life cycle in a block.
    • built-in library
      • output
        • draw rectangle
        • draw number
        • draw chars
        • clear screen
      • input
        • read keys
      • math
        • abs
        • lowbit
        • xor
        • multiply
        • divide
        • mod
        • min
        • max
      • memory
        • allocate
        • free

About

Hack Assembly Language Compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published