Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are Jumps and Branches?

branches jumps
0
Posted

What are Jumps and Branches?

0

Jumps are what ASM uses to get from one piece of code (routine) to another routine. Branches have the same affect, but they are conditional jumps. This means they only jump when something is true/false (like an IF in C++/VB6). Both of these opcodes have what is called a Delay Slot. This means the opcode directly following it is to be executed before the jump. Bytes, Halfwords, Words, and Dwords Opcodes read & write values to the ram in different sizes… Byte: 8-Bit (00 – FF) Halfword: 16-Bit (0000 – FFFF) Word: 32-Bit (00000000 – FFFFFFFF) Doubleword (Dword): 64-Bit (0000000000000000 – FFFFFFFFFFFFFFFF) Using Niew To use Niew, begin by using GSCC2k2/Nemu to get a ram dump of the game you’re gonna edit the ASM of. Dump at least 800 – 802 (GSCC2k2 default), or dump all 4 megs (800 – 804) if need be. Now put that ram dump in the same folder as Niew and open a dos window. browse to the directory where niew is located and type “niew filename.bin” (filename is whatever you named the ram dum

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.