![]() ![]() ![]() Python) was demonstrated during the workshop using a count loop. The benefit of writing code in assembly language versus writing code in a higher language (e.g. The debugger showed the register values in both hexadecimal (base 16) and binary (base 10). print statements) were used we relied on the debugger to show if the code worked correctly: Pi Debugger In the above example the value 65 was stored in register 0 and on exit the value 1 was stored in register 7.Īfter successfully writing assembly code and compiling it the group then got to run it through the Pi’s debugger to check that the code worked. Jack explained how to store values within the registers, how to create loops, branches and use arithmetic in assembly. The processor in the Raspberry Pi (specifically the Raspberry Pi 3) has 13 registers that it can write / read from. Unlike most computers which use an x86 processor, the Raspberry Pi uses an ARM processor.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |