summaryrefslogtreecommitdiff
path: root/src/device_bus.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2024-09-02 17:39:52 +1200
committerBen Bridle <bridle.benjamin@gmail.com>2024-09-03 13:12:29 +1200
commit69588112045ebb4f1a8c6d561ac019be8dbbaf6d (patch)
tree2874329dc9f1f9cbcfe130f4771dcc505a3a1eef /src/device_bus.rs
parentf6e9349f60d003fca8dce6d4f6c76a1ad0c0e56d (diff)
downloadbedrock-core-69588112045ebb4f1a8c6d561ac019be8dbbaf6d.zip
Improve efficiency of some instructions
When a value is to be read and kept on the stack, instead of popping and immediately pushing it we now use a more efficient `get` stack method. The pop_u16 stack method has also been changed to a variation that assembles to fewer CPU instructions.
Diffstat (limited to 'src/device_bus.rs')
0 files changed, 0 insertions, 0 deletions