![]() ![]() Finally, the last hexidecimal immediate argument for a BEQZ command represents the location in code to jump to should the comdition be met. T3 can be seen on the list of registers on the right of the debugger: its value in the image is 00000000 801A6BC0, a hexidecimal number. ![]() So what is it’s argument? Why, it’s the register T3, which is a place a temporary value can be stored by the computer for math and logic operations. It’s part of a family of commands called branch commands that examine some condition and jump to somewhere else in the code if it’s true BEQZ does this if its argument is zero. ![]() The command BEQZ stands for “Branch on EQual to Zero”. Since conventional decimal runs out of digits at 9, we start using English letters. Hexidecimal is a base 16 number system useful in computing because a single digit can represent 4 of the computer’s ones and zeros in binary (2⁴ = 16). ASM takes the form of a series of cryptic abbreviated commands, followed by a combination of 2 digit alpha-numeric registers and hexidecimal immediate values. The right side of the debugger shows a line by line view of each ASM command and its arguments as disassembled by the debugger. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |