All the tools are working now

discussion of forwardcom instruction set and corresponding hardware and software

Moderator: agner

Post Reply
agner
Site Admin
Posts: 177
Joined: 2017-10-15, 8:07:27
Contact:

All the tools are working now

Post by agner »

All the binary tools for ForwardCom are working now: assembler, disassembler, linker, library manager, emulator, debugger. These tools can run in Windows and Linux.

I have also made function libraries: libc.li contains the most important standard C functions. A library of mathematical functions math.li contains a few functions for demonstration purposes. More functions will be added later.

Sevaral test code examples are also provided:
  • hello.as: Simple hello world
  • guess_number.as: Guessing game. Guess a number from 1 to 100
  • event.as: Demonstrates the event handler system
  • sumarray.as: Fills an array with the numbers from 1 to 100 and then calculates the sum. This shows how the variable-length vector instructions work.
  • trigonometric.as: Prints a table of sin, cos, tan
  • integrate.as: Numerical integration of sin(x). Demonstrates function call with variable-length vectors
These examples are ready to run. It is all on github.com/ForwardCom

Have fun!
Post Reply