Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

R1832 patch: MCS51 codes

2 posters

Go down  Message [Page 1 of 1]

1R1832 patch: MCS51 codes  Empty R1832 patch: MCS51 codes Thu Aug 31, 2023 4:47 am

royqh1979



All tested.

Implementes:
- 0xF5  MOV data addr <- A
- 0xF6  MOV @R0 <- A
- 0xF7  MOV @R1 <- A
- 0xF8-0xFF MOV Rx <- A

Fixes:
in 0xB4-0xBF  CJNE
 - dataaddr are treated the same as #dataaddr (replace operRel() with opr2I08()/opr2Dir() + addrDir() )
 - in CJNE() , PC is not corrected updated

Change:
 - new operAcc(), to make codes cleaner
 - new opr2I

2R1832 patch: MCS51 codes  Empty Re: R1832 patch: MCS51 codes Thu Aug 31, 2023 8:42 am

royqh1979



Patch updated:

Fix:
- 0xd8-0xdf
DJNZ use m_op0 as the mem address. So should retrieve Rx as m_op0.
Attachments
R1832 patch: MCS51 codes  Attachmentmcs51-3.zip
You don't have permission to download attachments.
(3 Kb) Downloaded 2 times

3R1832 patch: MCS51 codes  Empty Re: R1832 patch: MCS51 codes Thu Aug 31, 2023 9:27 am

arcachofo

arcachofo

Thanks.
Patch applied at Rev 1833.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum