New machine language port
|
12-22-2019, 09:15 PM
Post: #5
|
|||
|
|||
RE: New machine language port
Dear Mr. Horn,
Below you will find one of the smallest programs in the package to be ported. In total, the package covers more than 20 kB of source code, most of which in assembly. Both marked "D1=A" instructions produce an "Invalid Field" error message. Note that the last "D1=A" mnemonic gives no error message. All this is a mystery to me. Maybe this is clear to you, and you can help me solve this problem. I hope to hear from you soon. Sincerely, Karel. :: CODE GOSBVL =SAVPTR A=DAT1 A AD1EX D1=D1+ 10 CD1EX R4=C D1=A <----- error! D1=D1+ 5 A=DAT1 A AD1EX D1=D1+ 5 C=DAT1 A A=R4 D1=A <----- error! C=0 S C=C-1 S *LBCB5E A=DAT1 B A=A+1 B GOC LBCB7D D1=D1+ 2 DAT1=C S D1=D1+ 16 AD1EX A=A+C A D1=A <----- no error! GOTO LBCB5E *LBCB7D A=0 A A=A-1 A GOVLNG =PUSH#ALOOP ENDCODE ; @ I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)