Instructions for working with status register.
Opcode | Mnemonic | Description | Flags |
0b010100 | LDSR(B) mem LD(B) SR, mem |
Load SR from mem | P, N, Z, V, C |
0b010101 | ORSR(B) mem OR(B) SR, mem |
Set flags selected by mem | P, N, Z, V, C |
0b010110 | BRSR(B) mem BRS(B) SR, mem |
Reset flags selected by mem | P, N, Z, V, C |
0b010111 | STSR(B) mem ST(B) SR, mem |
Store SR to mem | no effect |
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.