diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-03 08:16:11 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-03 08:19:17 +0000 |
commit | d024ecf2e00b52d0d3d1193bef2da17281f20184 (patch) | |
tree | cd17b38234f57dcac9abac914b42d3ee8e7c556c | |
parent | 6194cb6d2cf5cd501aab0135890a7f3d5c9aa914 (diff) | |
download | ovm-d024ecf2e00b52d0d3d1193bef2da17281f20184.tar.gz ovm-d024ecf2e00b52d0d3d1193bef2da17281f20184.tar.bz2 ovm-d024ecf2e00b52d0d3d1193bef2da17281f20184.zip |
Added todo to make a "main routine" specification in assembler
-rw-r--r-- | todo.org | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -2,6 +2,21 @@ #+author: Aryadev Chavali #+date: 2023-11-02 +* TODO Start points +You know how in standard assembly you can write +#+begin_src asm + global _start +_start: + ... +#+end_src +and that means the label ~_start~ is the point the program should +start from. This means the user can define other code anywhere in the +program and specify something similar to "main" in C programs. + +Proposed syntax: +#+begin_src asm + init <label> +#+end_src * Completed ** DONE Write a label/jump system :ASM: Essentially a user should be able to write arbitrary labels (maybe |