Skip to content

4zv4l/rz8basm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rz8basm

Raku assembler for z8b

Implementation

Improved implementaion over the previous Perl one here.

Example

Example source code:

start:
    push 5
    pop  A
    push 2
    pop  B
    add  A B ; add B into A 
    push 4
    pop  C
    cmp  C A
    jmpz #end2
    ; this is a comment


end1:
    push 33
    pop B
end2:
    push 1

    pop  B

Usage

$ ./rz8basm.raku
Usage:
  ./rz8basm.raku [-v|--verbose] <file>

    <file>          b8 file
    -v|--verbose    verbose mode

The a.out generated file is now ready to be ran by z8b.

About

Raku assembler for z8b

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages