Skip to content

KonainQureshi/AsmCompiler

Repository files navigation

I made this Assembly Compiler when I was 14. It is poorly programmed.

I had plans of creating a C compiler in my "Compier psudo code.txt" but never went through with it.

To Run: java AsmCompiler

Input the full name of the file you want to run

Instruction Set:

  LDA - Load to register A
  LDB - Load to register B
  SET - Set tegister C to an address
  ADD - Add register A and register B into register C
  SUB - Subtract register B from register A into register C
  IFF - IFF 1 - Skip next line if A <= B
      - IFF 2 - Skip next line if A > B
      - IFF 3 - Skip next line if A != B
  JMP - Jump to an address in the instruction set
  OUT - Toggle on/off coordinates: (A, B) to screen
  GET - Didn't finish
  LPA - Load current program counter into A
  SCP - Set current position integer into another address
  RUN - Didn't finish
  TMR - Pause the system

About

An Assembly language I made when I was 14

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages