Zabiah Jones wrote: ↑
Thu Mar 22, 2018 12:49 pm
I just know how to do basic stuff with registers and need to know this stuff.
You may use the "as" assembler, or the C compiler "gcc" can do it for you.
See "man as" or "man gcc" for more info.
If you use "as", you will have to call the linker "ld" afterwards.
easiest is to use gcc:
gcc myprog.s -o myprog
will run it.
You "make a file" with a text editor assuming you are referring to source files.
On the Pi you have "nano" (simple) or "vi" (harder but very powerful).
You can run the program using the debugger "gdb" (use "layout reg" ) and single step though with "si".
All these tools mentioned are included within Raspbian so you don't need to install anything.