Skip to content

UAPROGRAMER/pcompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pcompiler

Compile source code into x86_64 linux assembley and assemble with NASM assembler. Made for linux.

keywords

  • res [size], [name];
  • const [size], [name], [const value];
  • set [name], [expr];
  • exit [expr];

var sizes

  • u8
  • u16
  • u32
  • u64

operations

low priority

  • a + b : add
  • a - b : subtract

normal-low priority

  • a * b : multiply
  • a / b : divide
  • a % b : modulus

normal-high priority

  • a & b : and
  • a | b : or
  • a ^ b : xor

high priority

  • -a : minus sign
  • +a : plus sign
  • !a : not
  • &[name] : pointer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors