Changed flags description

Kevin Ramharak 2018-02-04 08:51:59 +01:00
parent fbd6718b09
commit 2525d38b7e

@ -72,13 +72,9 @@ MOV A, 0x20
This human readable format is parsed by the assembler which will output the actual binary opcodes and operands. This human readable format is parsed by the assembler which will output the actual binary opcodes and operands.
## Flags ## Flags
Some instructions will change certain flags based on their result. These are in a special non read-write register. Some instructions will change certain flags based on their result. These are in a special non read-write register. These flags are used for the family of jump instructions. You can also use the [`PUSHF`](#pushf) and [`POPF`](#popf) instructions to query and manipulate the flags
The only way to set these flags is by using instructions and the only way to read these flags is with the jump behavior.
> NOTE: The flags might be readable in the future
>for more information check the [docs](https://github.com/simon987/Much-Assembly-Required/wiki/CPU#the-flags-register) >for more information check the [docs](https://github.com/simon987/Much-Assembly-Required/wiki/CPU#the-flags-register)
>
> NOTE: The table below was copied from the link above. There is more info available, if you have trouble understanding the flags we strongly suggest you read the section in the link. > NOTE: The table below was copied from the link above. There is more info available, if you have trouble understanding the flags we strongly suggest you read the section in the link.
| Flag | Description | | Flag | Description |