Skip to content
This repository has been archived by the owner on Dec 11, 2018. It is now read-only.
/ qhasm Public archive

Bugfixed version for ARM11 of DJBs qhasm. nostack branch ditches the stack pointer.

Notifications You must be signed in to change notification settings

thomwiggers/qhasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QHASM

Modified version of qhasm for ARM11. This was done to support my implementation of Prøst on ARM11.

Notes and changes

  • Since the machine description is a shell script, and the Raspberry Pi on which I was running this was quite slow, it has a small modification to cache the output the machine description shell script. commit

  • it has a flag-setting 'and' and support for the = flag

  • Some syntax fixes in generated code

  • Some hacks to overcome register allocator limitations (>32 bit loads have restrictions the allocator doesn't understand) e.g. commit

  • Some bespoke modifications to have even wider stores.

There is also a 'stackless' branch, where the stack pointer is made available to the register allocator. This is the version used by my Prøst implementation. This modification does of course mean that you can't use the stack anymore, and need to store/load the stack pointer somewhere (as in this line).

If you have any further questions, feel free to ask me.

Cheers,

Thom Wiggers

About

Bugfixed version for ARM11 of DJBs qhasm. nostack branch ditches the stack pointer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages