> For the complete documentation index, see [llms.txt](https://newrouge.gitbook.io/roguebook1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://newrouge.gitbook.io/roguebook1/group/assembly/instructions.md).

# Instructions

1. `je <Address>`

This will jump to address if ZF is set to 1, otherwise if ZF(zero flag) is zero it won't make the jump to that address.

2.`jne <address>`

Is exact opp of earlier

3. ```
   SETNE/SETNZ register
   ```

It sets the value of register to 1 if zero flag is 0.

4. `mov rax, rbx`

Move rbx value to rax.

5. `test edi,edi`

does a bitwise AND of the EDI register with itself, and updates the CPU flags based on the result—but it does **not** store any result back into EDI.&#x20;

**ZF (Zero Flag)**:\
Set to 1 if (EDI & EDI) == 0 (i.e. if EDI == 0); cleared to 0 otherwise.
