Commit MetaInfo

Revision293173929fb5600b627ba1449908064472d92015 (tree)
Time2019-02-12 16:14:30
Authoringlorion <homemicro@ingl...>
Commiteringlorion

Log Message

fixed plp instruction in emulator

Change Summary

Incremental Difference

diff -r 9b8f76261d2a -r 293173929fb5 emulator/hm1000.c
--- a/emulator/hm1000.c Sun Feb 10 04:33:50 2019 -0800
+++ b/emulator/hm1000.c Mon Feb 11 23:14:30 2019 -0800
@@ -704,7 +704,7 @@
704704 }
705705
706706 OP(plp) {
707- s->p = load_u8(s, 0x100 + ++s->s) | 0x10;
707+ s->p = load_u8(s, 0x100 + ++s->s) | 0x20;
708708 }
709709
710710 static uint8_t rol_impl(hm1k_state *s, uint8_t v) {
Show on old repository browser