This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; to compile: fasm dice.asm roll | |
| ; to run: ./roll 1d20 2d4 4d6 etc. | |
| ; | |
| ; --- * --- * --- | |
| ; info | |
| format ELF64 executable 3; | |
| entry _start; | |
| define VERSION v0.00.6a; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| format ELF64 executable 3; | |
| entry start; | |
| segment readable writeable | |
| ; copied verbatim from my lib | |
| SYS.mmap: | |
| .id = $09 | |
| .proto_r = $01 | |
| .proto_rw = $03 |