-
Notifications
You must be signed in to change notification settings - Fork 3
Add missing instructions BRBC and BRBS #6
Copy link
Copy link
Open
Labels
emulator internalMods on the internal emulator API or functionalityMods on the internal emulator API or functionalityenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest-2025Perfect bugs/enhancements for Hacktoberfest 2025Perfect bugs/enhancements for Hacktoberfest 2025not a priorityEnhancements or bugs that do need to be resolved but are not a priorityEnhancements or bugs that do need to be resolved but are not a priorityparserConcerning the parser/fron-endConcerning the parser/fron-end
Milestone
Description
BRBC – Branch if Bit in SREG is Cleared
Description
Conditional relative branch. Tests a single bit in SREG and branches relatively to the PC if the bit is cleared. This
instruction branches relatively to the PC in either direction (PC - 63 ≤ destination ≤ PC + 64). Parameter k is the offset
from the PC and is represented in two’s complement form.
BRBS – Branch if Bit in SREG is Set
Description
Conditional relative branch. Tests a single bit in SREG and branches relatively to the PC if the bit is set. This
instruction branches relatively to the PC in either direction (PC - 63 ≤ destination ≤ PC + 64). Parameter k is the offset
from the PC and is represented in two’s complement form.
More information on these instructions:
https://ww1.microchip.com/downloads/en/DeviceDoc/AVR-InstructionSet-Manual-DS40002198.pdf
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
emulator internalMods on the internal emulator API or functionalityMods on the internal emulator API or functionalityenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest-2025Perfect bugs/enhancements for Hacktoberfest 2025Perfect bugs/enhancements for Hacktoberfest 2025not a priorityEnhancements or bugs that do need to be resolved but are not a priorityEnhancements or bugs that do need to be resolved but are not a priorityparserConcerning the parser/fron-endConcerning the parser/fron-end