mirror of https://github.com/wwarthen/RomWBW.git
6 changed files with 5 additions and 814 deletions
@ -1,202 +0,0 @@ |
|||||
; |
|
||||
� ‚ |
|
||||
--- H P - R P N --- |
|
||||
|
|
||||
|
|
||||
RPN Notation for the HP Calculator |
|
||||
|
|
||||
|
|
||||
R --> RPN Notation |
|
||||
S --> Stack Operations |
|
||||
F --> Stack Functions |
|
||||
N --> Numeric Functions |
|
||||
H --> HP Calculator |
|
||||
Z --> ZP |
|
||||
:R |
|
||||
RPÎ Notatioî� |
|
||||
|
|
||||
Reverså Polisè Notatioî (RPN)¬ alsï calleä postfiø notation¬ ió á simplå � |
|
||||
buô powerfuì stacë orienteä notatioî commonlù useä iî Hewlett-Packarä � |
|
||||
calculators® Yoõ firsô enteò thå twï numberó yoõ wisè tï operatå on¬ usinç � |
|
||||
thå <RETURN¾ keù tï separatå thå twï numberó yoõ arå enterinç anä theî yoõ � |
|
||||
enteò thå functioî yoõ wisè tï perform® Thå numberó yoõ enteò arå pusheä � |
|
||||
ontï á stacë anä thå functioî performeä oî thå numberó iî thå stack® Thå � |
|
||||
resulô ió displayeä immediatelù afteò thå functioî ió entered. |
|
||||
|
|
||||
Withiî it'ó limits¬ HÐ followó thå RPÎ conventionó useä bù Hewlett-Packarä � |
|
||||
iî theiò linå oæ RPÎ calculators. |
|
||||
|
|
||||
Foò examplå (assuminç thå decimaì displaù mode)º |
|
||||
|
|
||||
Tï Solvå Functioî Keystrokeó Displaù� |
|
||||
------- ---------------- --------- ------� |
|
||||
9+3=1² ¹ pluó ³ 9<RET>3« 1²� |
|
||||
9-3=¶ ¹ minuó ³ 9<RET>3 ¶� |
|
||||
9*3=2· ¹ timeó ³ 9<RET>3ª 2·� |
|
||||
9/3=³ ¹ divideä bù ³ 9<RET>3¯ ³� |
|
||||
9^3=72¹ ¹ tï thå 3rä poweò 9<RET>3Þ 72¹ |
|
||||
:S |
|
||||
Stacë� |
|
||||
|
|
||||
RPÎ ió baseä oî thå stack® Á numbeò ió entereä ontï thå stacë bù keyinç iî � |
|
||||
thå digits¬ endinç witè <RET>® Eacè subsequenô numbeò keyeä iî wilì pusè � |
|
||||
thå existinç contentó oæ thå stacë onå leveì higher. |
|
||||
|
|
||||
Thå structurå oæ HP'ó ´ leveì stacë ió showî belowº |
|
||||
|
|
||||
Ô -¾ 000° Stacë registeò ´� |
|
||||
Ú -¾ 000° Stacë registeò ³� |
|
||||
Ù -¾ 000° Stacë registeò ²� |
|
||||
-------------------------------------------� |
|
||||
Ø -¾ 000° Stacë registeò ± < Displayeä |
|
||||
|
|
||||
HÐ alwayó displayó thå contentó oæ thå Ø register® Wheî thå stacë ió � |
|
||||
lifted¬ thå contentó oæ eacè stacë registeò arå moveä uð onå level¬ thå � |
|
||||
contentó oæ registeò Ø arå copieä intï Ù anä thå contentó oæ registeò T¬ �Šthå topmosô register¬ arå lost. |
|
||||
|
|
||||
Wheî thå stacë ió dropped¬ thå contentó oæ eacè stacë registeò arå moveä � |
|
||||
dowî onå leveì anä thå contentó oæ thå Ô registeò arå copieä intï registeò � |
|
||||
Z® Thå resulô oæ thå calculatoò operatioî ió placeä iî registeò X. |
|
||||
|
|
||||
Bù enterinç á numbeò ´ timeó tï copù iô intï eacè stacë register¬ thaô � |
|
||||
numbeò becomeó á 'constant§ iî thå Ù registeò foò subsequenô chaiî � |
|
||||
operations® Eacè subsequenô operatioî wilì droð thå stack¬ restorinç thå � |
|
||||
samå 'constant§ valuå tï thå Ù registeò foò thå nexô operation. |
|
||||
:F |
|
||||
Stacë Functionó� |
|
||||
|
|
||||
HÐ haó severaì functionó thaô affecô onlù thå stack® Iî eacè oæ theså � |
|
||||
examples¬ eacè stacë registeò startó ouô loadeä witè thå numbeò oæ thaô � |
|
||||
register. |
|
||||
|
|
||||
Clearinç thå Stacë (^X) |
|
||||
� |
|
||||
Control-Ø clearó thå entirå stack® Thå valueó containeä iî thå LAST-Ø anä � |
|
||||
memorù registeró arå noô affected® HÐ startó witè á cleaò stacë wheî � |
|
||||
loadeä froí disk. |
|
||||
|
|
||||
Ô -¾ ´ Ô -¾ °� |
|
||||
Ú -¾ ³ Ú -¾ °� |
|
||||
Ù -¾ ² Ù -¾ °� |
|
||||
------------------------------------� |
|
||||
Ø -¾ ± Ø -¾ ° < Displayeä� |
|
||||
Keyº ^Ø (Cleaò stack© |
|
||||
Enterinç á numbeò (<RET>) |
|
||||
� |
|
||||
<RET>¬ useä aó thå ENTEÒ key¬ terminateó entrù oæ á numbeò anä placeó iô oî � |
|
||||
thå stack® Iô alsï separateó twï numberó entereä onå afteò thå other® <RET¾ � |
|
||||
liftó thå stacë anä copyó thå numbeò iî thå Ø registeò tï thå Ù register¬ � |
|
||||
replacinç iô witè thå numbeò thaô haó jusô beeî keyeä in® Thå valuå iî thå � |
|
||||
toð stacë register¬ registeò T¬ ió lost. |
|
||||
|
|
||||
Ô -¾ ´ Ô -¾ ³ Previouó Ô (4© losô� |
|
||||
Ú -¾ ³ Ú -¾ ²� |
|
||||
Ù -¾ ² Ù -¾ ±� |
|
||||
------------------------------------� |
|
||||
Ø -¾ ± Ø -¾ 78¹ < Displayeä� |
|
||||
Keyº 789<RET¾ (Enteò 789© |
|
||||
Stacë drop |
|
||||
� |
|
||||
Á numeriã functioî wilì droð thå stacë onå leveì anä replacå thå valuå iî Ø � |
|
||||
witè thå numeriã result® Thå valuå iî registeò Ô ió copieä dowî tï registeò � |
|
||||
Ú wheneveò thå stacë ió dropped. |
|
||||
|
|
||||
Ô -¾ ´ Ô -¾ ´ Valuå iî Ô copieä tï Ú� |
|
||||
Ú -¾ ³ Ú -¾ ´� |
|
||||
Ù -¾ ² Ù -¾ ³� |
|
||||
------------------------------------� |
|
||||
Ø -¾ ± Ø -¾ ³ < Displayeä� |
|
||||
Keyº « (X+Y©� |
|
||||
(2+1=3© |
|
||||
Rolì stacë uð (>© oò dowî (<) |
|
||||
� |
|
||||
Wheî thå stacë ió rolleä up¬ thå stacë ió lifteä onå leveì anä thå previouó � |
|
||||
valuå oæ Ô ió moveä dowî tï X® Wheî thå stacë ió rolleä down¬ thå stacë ió � |
|
||||
droppeä onå leveì anä thå previouó valuå oæ Ø ió moveä uð tï T® Nï valueó � |
|
||||
arå lost. |
|
||||
|
|
||||
Ô -¾ ´ Ô -¾ ³ Valuå froí Ô moveä� |
|
||||
Ú -¾ ³ Ú -¾ ² dowî tï Ø� |
|
||||
Ù -¾ ² Ù -¾ ±� |
|
||||
------------------------------------� |
|
||||
Ø -¾ ± Ø -¾ ´ < Displayeä� |
|
||||
Keyº ¾ (Rolì Up© |
|
||||
|
|
||||
Ô -¾ ´ Ô -¾ ± Valuå froí Ø moveä� |
|
||||
Ú -¾ ³ Ú -¾ ´ uð tï Ô� |
|
||||
Ù -¾ ² Ù -¾ ³� |
|
||||
------------------------------------� |
|
||||
Ø -¾ ± Ø -¾ ² < Displayeä� |
|
||||
Keyº ¼ (Rolì Down© |
|
||||
Exchangå contentó oæ Ø anä Ù (=) |
|
||||
� |
|
||||
Thå contentó oæ registeró Ø anä Ù arå exchanged® Nï otheò registeró arå � |
|
||||
affected® Thió functioî ió usefuì wheî yoõ neeä tï reverså thå ordeò oæ thå � |
|
||||
operandó beforå yoõ perforí aî operatioî sensitivå tï thå ordeò oæ thå � |
|
||||
operands¬ sucè aó subtraction¬ division¬ oò exponentiation. |
|
||||
|
|
||||
Ù -¾ ² Ù -¾ ±� |
|
||||
------------------------------------� |
|
||||
Ø -¾ ± Ø -¾ ² < Displayeä� |
|
||||
Keyº ½ (X<>Y© |
|
||||
Lasô Ø (L) |
|
||||
� |
|
||||
Wheî á numeriã functioî ió executed¬ á copù oæ thå lasô valuå iî thå Ø � |
|
||||
registeò beforå thå functioî ió executeä ió saveä iî thå Last-Ø register® � |
|
||||
Thaô valuå caî bå restoreä tï thå Ø registeò usinç thå 'L§ key® Thå stacë � |
|
||||
ió lifted¬ movinç thå currenô contentó oæ thå Ø registeò tï thå Ù register¬ � |
|
||||
etc® Thå valuå iî thå Last-Ø registeò ió noô affected. |
|
||||
|
|
||||
Ô -¾ ³ Ô -¾ ³ Ô -¾ ³� |
|
||||
Ú -¾ ² Ú -¾ ³ Ú -¾ ²� |
|
||||
Ù -¾ ± Ù -¾ ² Ù -¾ ¹� |
|
||||
------------------------------------------------� |
|
||||
Last-Ø -¾ Ø -¾ ¸ Ø -¾ ¹ Ø -¾ ¸ < Displayeä� |
|
||||
Keyº « Keyº Ì (Last-X©� |
|
||||
(1+8=9© |
|
||||
:N |
|
||||
Numeriã Functionó� |
|
||||
|
|
||||
Wheî yoõ wanô tï keù iî twï numbers¬ onå afteò thå other¬ yoõ uså thå <RET¾ � |
|
||||
keù betweeî entrieó tï separatå thå numbers® Wheî yoõ wanô tï keù iî á � |
|
||||
numbeò anä executå á functioî thaô useó thå valuå alreadù iî thå Ø registeò � |
|
||||
aó thå otheò operand¬ yoõ don'ô neeä tï uså thå <RET¾ key® Instead¬ yoõ � |
|
||||
enteò thå seconä operanä directlù followeä bù thå desireä operatioî key. |
|
||||
|
|
||||
Ô -¾ ´ Ô -¾ ³ Ô -¾ ³� |
|
||||
Ú -¾ ³ Ú -¾ ² Ú -¾ ³� |
|
||||
Ù -¾ ² Ù -¾ ± Ù -¾ ²� |
|
||||
------------------------------------------------� |
|
||||
Ø -¾ ± Ø -¾ µ Ø -¾ ¶ < Displayeä� |
|
||||
Keyº µ Keyº « (X=X+5©� |
|
||||
(1+5=6© |
|
||||
|
|
||||
Thå functionó <RET¾ anä ^Ø (cleaò stack© disablå thå automatiã stacë lifô � |
|
||||
wheî thå nexô numbeò ió keyeä in® Wheî anù otheò functioî ió used¬ thå � |
|
||||
stacë lifô ió enabled¬ causinç thå stacë tï automaticallù lifô wheî thå � |
|
||||
nexô numbeò ió keyeä in® Thió effecô ió verù naturaì anä yoõ probablù � |
|
||||
won'ô havå tï thinë abouô it. |
|
||||
One-Numbeò Function |
|
||||
� |
|
||||
Negatioî (two'ó complement© ió HP'ó onlù onå one-numbeò function® Iô � |
|
||||
operateó oî thå currenô valuå iî thå Ø register¬ placinç thå resulô iî thå � |
|
||||
Ø register® Thå resô oæ thå stacë ió unaffected. |
|
||||
|
|
||||
Two-Numbeò Functions |
|
||||
� |
|
||||
Thå remaindeò oæ HP'ó numeriã functionó uså thå valueó iî botè thå Ø anä Ù � |
|
||||
registers® Iî operationó sucè aó subtractioî oò division¬ thå lasô numbeò � |
|
||||
keyeä iî ió thå numbeò yoõ arå subtractinç oò dividinç by® Iæ yoõ havå thå � |
|
||||
numberó entereä iî thå wronç order¬ uså thå '=§ keù tï exchangå thå valueó � |
|
||||
oæ thå Ø anä Ù registers. |
|
||||
|
|
||||
Ô -¾ ³ Ô -¾ ² Ô -¾ ²� |
|
||||
Ú -¾ ² Ú -¾ ± Ú -¾ ²� |
|
||||
Ù -¾ ± Ù -¾ ¸ Ù -¾ ±� |
|
||||
------------------------------------------------� |
|
||||
Ø -¾ ¸ Ø -¾ ´ Ø -¾ ² < Displayeä� |
|
||||
Keyº 8<RET¾ Keyº ´ Keyº ¯ (Y/X©� |
|
||||
(8/4=2© |
|
||||
:H:HP-ZP.HLP |
|
||||
:Z:ZP.HLP |
|
||||
|
|
||||
@ -1,263 +0,0 @@ |
|||||
; |
|
||||
|
|
||||
--- H P --- |
|
||||
|
|
||||
Version 1.4 |
|
||||
|
|
||||
Programmer'ó Integeò RPÎ Calculator for ZP |
|
||||
|
|
||||
|
|
||||
O --> Overview |
|
||||
H --> Invoking HP |
|
||||
D --> Display Modes |
|
||||
S --> Stack |
|
||||
E --> Entering Numbers |
|
||||
F --> Math Functions |
|
||||
M --> Memory Registers |
|
||||
N --> RPN Notation |
|
||||
Z --> ZP |
|
||||
:O |
|
||||
Overview |
|
||||
|
|
||||
HÐ ió á simplå anä verù usefuì programmer'ó integeò calculatoò modeleä � |
|
||||
afteò á Hewlett-Packarä calculatoò witè RPÎ notation® � |
|
||||
|
|
||||
HÐ caî operatå iî anù oæ fouò displaù modesº hexadecimal¬ decimal¬ binary¬ � |
|
||||
anä character¬ makinç iô verù usefuì foò quicklù convertinç integeò numberó � |
|
||||
froí onå baså tï another® Iô caî dï integeò addition¬ subtraction¬ � |
|
||||
multiplication¬ division¬ exponentiatioî anä bitwiså logicaì ANÄ anä OÒ � |
|
||||
operations® Iô haó á ´ leveì stacë anä ¶ memorù storagå registers. |
|
||||
|
|
||||
Alì HÐ internaì storagå anä arithmetiã ió unsigneä 1¶ bit® Thuó 6553· � |
|
||||
becomeó 00001¬ -± becomeó 65535¬ anä sï on® Multiplicatioî anä � |
|
||||
exponentiatioî overflo÷ anä divisioî bù ° wilì generatå errors® Iî binarù � |
|
||||
anä characteò modes¬ thå displaù showó onlù thå lowesô ¸ bitó oæ 16¬ sï 8-� |
|
||||
biô overflo÷ doeó noô usuallù causå aî error. |
|
||||
|
|
||||
Iæ yoõ arå noô familiaò witè RPÎ notation¬ see the section on RPN notation,� |
|
||||
whicè alsï haó morå detaiì oî ho÷ HÐ useó itó stacë durinç stacë anä � |
|
||||
numeriã operations. |
|
||||
:H |
|
||||
Invoking HP |
|
||||
|
|
||||
Uså ^Ã tï invokå HP® Iô wilì displaù itó singlå operatinç linå anä waiô � |
|
||||
foò youò input: |
|
||||
|
|
||||
H¾ 0000 |
|
||||
|
|
||||
Thå 'H>§ indicateó hexadecimaì displaù modå (thå defaulô displaù mode)¬ anä � |
|
||||
'0000§ ió thå fouò digiô heø calculatoò displaù oæ registeò X¬ whicè ió thå � |
|
||||
registeò alwayó displayed® Thå HÐ stacë anä memorù arå initializeä tï zerï � |
|
||||
wheî ZP ió firsô loadeä into memory. |
|
||||
|
|
||||
Exiting HP |
|
||||
|
|
||||
Uså ^à tï exiô HÐ anä returî tï ZP® Wheî yoõ uså ^à tï reruî HP¬ yoõ wilì �Šreturî tï iô jusô wherå yoõ lefô off® |
|
||||
:D |
|
||||
Display Modes |
|
||||
|
|
||||
HÐ caî operatå iî anù oæ fouò displaù modesº hexadecimal¬ decimal¬ binary¬ � |
|
||||
anä character¬ makinç iô verù usefuì foò quicklù convertinç integeò numberó � |
|
||||
froí onå baså tï another® Tï changå displaù modes¬ enteò thå escapå <ESC¾ � |
|
||||
keù followeä bù thå firsô letteò oæ thå desireä mode® Eitheò uppeò oò � |
|
||||
loweò caså letteró maù bå useä tï selecô thå mode® Thå displaù indicateó � |
|
||||
thå currenô mode¬ anä thå numbeò iî thå Ø registeò wilì bå displayeä iî thå � |
|
||||
currenô mode® Yoõ maù translatå numberó froí onå baså tï anotheò bù simplù � |
|
||||
changinç displaù modes. |
|
||||
Heø Displaù Mode |
|
||||
|
|
||||
Tï selecô thå heø displaù mode¬ enteò <ESC>H® Iî heø mode¬ numberó displaù � |
|
||||
aó fouò heø digitó froí 0000-FFFF. |
|
||||
|
|
||||
Decimaì Displaù Mode |
|
||||
|
|
||||
Tï selecô thå decimaì displaù mode¬ enteò <ESC>D® Iî decimaì mode¬ numberó � |
|
||||
displaù aó fivå decimaì digitó froí 00000-65535. |
|
||||
|
|
||||
Binarù Displaù Mode |
|
||||
|
|
||||
Tï selecô thå binarù displaù mode¬ enteò <ESC>B® Iî binarù mode¬ thå leasô � |
|
||||
significanô bytå oæ thå numbeò displayó aó ¸ binarù digits from |
|
||||
00000000-11111111. |
|
||||
Character Display Mode |
|
||||
|
|
||||
Tï selecô thå characteò displaù mode¬ enteò <ESC>C® Iî characteò mode¬ thå � |
|
||||
leasô significanô · bitó oæ thå numbeò displaù aó aî ASCIÉ character® � |
|
||||
Controì characteró arå indicateä bù á '^§ prefix® Foò example¬ 03È wilì � |
|
||||
displaù aó '^C§ anä DEÌ (7FH)¬ wilì displaù aó '^?'. |
|
||||
|
|
||||
Alì non-commanä characteró caî bå directlù entereä aó datá iî thå characteò � |
|
||||
displaù mode® Characteró thaô havå commanä functionó sucè aó 'L'¬ '/'¬ � |
|
||||
'='¬ ^C¬ <RET¾ (^M)¬ etc¬ caî bå entereä aó datá iî thå characteò modå bù � |
|
||||
prefixinç theí witè thå <ESC¾ character® Seå thå sectioî oî Enterinç � |
|
||||
Speciaì Characteró foò morå information. |
|
||||
:S |
|
||||
Stack |
|
||||
|
|
||||
Thå structurå oæ HP'ó ´ leveì stacë ió showî below: |
|
||||
|
|
||||
Ô -¾ 000° Stacë registeò 4 |
|
||||
Ú -¾ 000° Stacë registeò 3 |
|
||||
Ù -¾ 000° Stacë registeò 2 |
|
||||
-------------------------------------------- |
|
||||
Ø -¾ 000° Stacë registeò ± < Displayed |
|
||||
|
|
||||
HÐ alwayó displayó thå contentó oæ thå Ø registeò anä alì valueó entereä � |
|
||||
arå entereä intï thå Ø register® Wheî á numbeò ió entereä intï thå Ø � |
|
||||
register¬ thå previouó contentó oæ thå Ø registeò arå automaticallù moveä � |
|
||||
uð tï thå Ù register¬ thå previouó contentó oæ thå Ù registeò arå moveä uð � |
|
||||
tï thå Ú register¬ etc® |
|
||||
|
|
||||
Seå thå filå HP-RPN.HLP foò morå detaiì oî ho÷ HP'ó functionó affecô thå � |
|
||||
stacë registers. |
|
||||
Enterinç á Number |
|
||||
|
|
||||
<RET¾ liftó thå stack¬ pushinç thå numbeò iî registeò Ø intï registeò Y® � |
|
||||
Thå numbeò beinç entereä ió theî placeä iî registeò X® Stacë lifô ió � |
|
||||
disabled. |
|
||||
|
|
||||
Clearinç thå Stack |
|
||||
|
|
||||
Yoõ caî cleaò thå entirå stacë witè Control-Ø (^X© aô anù time® Memorù anä � |
|
||||
Last-Ø registeró arå noô affected. |
|
||||
|
|
||||
Exchanginç Ø anä Y |
|
||||
|
|
||||
Yoõ caî exchangå thå contentó oæ thå twï lowesô stacë registeró Ø anä Ù � |
|
||||
witè thå '=§ functioî (X<>Y)® Nï otheò registeró arå affected® Thió � |
|
||||
functioî ió usefuì wheî yoõ neeä tï reverså thå ordeò oæ operandó beforå � |
|
||||
performinç á functioî sensitivå tï operanä ordeò sucè aó subtraction¬ � |
|
||||
divisoî oò exponentiation. |
|
||||
Last-X |
|
||||
|
|
||||
Wheî á numeriã functioî ió executed¬ á copù oæ thå lasô valuå iî thå Ø � |
|
||||
registeò beforå thå functioî ió executeä ió saveä iî thå Last-Ø register® � |
|
||||
Thaô valuå caî bå restoreä tï thå Ø registeò usinç thå 'L§ (oò 'l'© key® � |
|
||||
Thå stacë ió lifted¬ pushinç thå currenô contentó oæ thå Ø registeò tï thå � |
|
||||
Ù register¬ etc¬ unlesó stacë lifô haó beeî disableä bù thå <RET¾ oò � |
|
||||
backspacå key® Thå valuå iî thå Last-Ø registeò ió noô affected® Thå � |
|
||||
Last-Ø functioî saveó yoõ froí havinç tï reenteò numberó yoõ wisè tï uså � |
|
||||
agaiî anä caî assisô yoõ iî erroò recovery. |
|
||||
|
|
||||
Stacë Roll |
|
||||
|
|
||||
Yoõ caî rolì thå stacë bù usinç '>§ (oò thå unshifteä equivalenô '.'© tï � |
|
||||
rolì iô uð onå leveì anä '<§ (oò ','© tï rolì iô dowî onå level® Wheî thå � |
|
||||
stacë ió rolleä up¬ thå contentó oæ alì stacë registeró arå moveä uð onå � |
|
||||
leveì anä thå valuå iî thå toð stacë registeò ió moveä dowî tï thå Ø � |
|
||||
register® Wheî thå stacë ió rolleä down¬ thå contentó oæ alì stacë � |
|
||||
registeró arå moveä dowî onå leveì anä thå valuå iî thå Ø registeò ió moveä � |
|
||||
uð tï thå toð stacë register® Nï stacë valueó arå losô aó á resulô oæ � |
|
||||
stacë rolì operations. |
|
||||
:E |
|
||||
Entering Numbers |
|
||||
|
|
||||
Invokå HÐ anä trù enterinç thå followinç sequencå oæ keys: |
|
||||
|
|
||||
^X <ESC>Ä ± <RET¾ ² « ´ * |
|
||||
|
|
||||
Yoõ havå cleareä thå stack¬ selecteä thå decimaì mode¬ entereä thå decimaì � |
|
||||
numberó '1§ anä '2'¬ addeä them¬ entereä '4§ anä multiplieä ´ timeó thå � |
|
||||
previouó result® Thå displaù shoulä sho÷ '00012'¬ whicè ió (1+2)*4. |
|
||||
|
|
||||
Youò <ENTER¾ oò <RET¾ keù correspondó tï thå HÐ <ENTER¾ key® Iô ió useä tï � |
|
||||
separatå twï numberó aó theù arå beinç entereä onå afteò thå otheò oò tï � |
|
||||
copù thå numbeò iî thå displayeä Ø registeò intï thå Ù register® Yoõ � |
|
||||
normallù keù iî á strinç oæ digits¬ theî presó <RET¾ tï enteò thå numbeò iî � |
|
||||
thå displayeä Ø register® Yoõ dï noô neeä tï uså <RET¾ afteò everù numbeò � |
|
||||
entry¬ however¬ aó thå uså oæ thå functioî keyó alsï automaticallù � |
|
||||
terminateó digiô entry. |
|
||||
|
|
||||
Dependinç oî thå currenô displaù mode¬ á maximuí numbeò oæ digitó caî bå � |
|
||||
entereä intï thå display¬ afteò whicè thå leadinç digitó wilì begiî tï bå � |
|
||||
discarded® HÐ acceptó á maximuí oæ fouò digitó iî thå heø displaù mode¬ � |
|
||||
fivå digitó iî thå decimaì displaù mode¬ eighô digitó iî thå binarù displaù � |
|
||||
modå anä onå digiô iî thå characteò displaù mode® Thå consolå belì wilì � |
|
||||
rinç iæ yoõ enteò á characteò thaô ió noô acceptablå iî thå currenô displaù � |
|
||||
mode. |
|
||||
|
|
||||
Correctinç Entrieó� |
|
||||
|
|
||||
Thå backspacå keù (^H© workó likå thå lefô arro÷ '<--§ keù oî aî HÐ � |
|
||||
calculator® Iô haó twï functions® Durinç digiô entry¬ iô wilì deletå thå � |
|
||||
lasô digiô typed® Otherwiså iô wilì cleaò thå Ø registeò anä leavå thå � |
|
||||
stacë lifô disabled. |
|
||||
Enterinç Speciaì Characters |
|
||||
|
|
||||
Thå <ESC¾ keù maù bå useä aó á prefiø iî thå characteò displaù modå tï � |
|
||||
allo÷ yoõ tï enteò aó á digiô thoså characteró thaô woulä otherwiså bå � |
|
||||
interpreteä bù HÐ aó calculatoò functions: |
|
||||
|
|
||||
+-*^/&|~=lLsSrR<>., |
|
||||
|
|
||||
aó welì aó thå controì characteró ^X¬ ^Ã anä <RET¾ (^M). |
|
||||
|
|
||||
Tï enteò thå characteò 's'¬ foò example¬ enteò '<ESC>s§ insteaä oæ 's'¬ � |
|
||||
sincå enterinç 's§ initiateó á storå tï á memorù register. |
|
||||
:F |
|
||||
Math Functions |
|
||||
|
|
||||
HP'ó integeò numeriã functionó anä thå keyó tï invokå theí are: |
|
||||
|
|
||||
+ Addition, X=Y+Ø � |
|
||||
- Subtraction, X=Y-Ø � |
|
||||
* Multiplication, X=Y*Ø � |
|
||||
^ Exponentiation, X=Y^Ø (Ù tï thå Xtè power© � |
|
||||
/ Integer quotient, X=INT(Y/X© |
|
||||
- Remainder Register R=X*(Y/X-INT(Y/X)© � |
|
||||
& Bitwise AND, X=Y&X � |
|
||||
| Bitwise OR, X=Y|X � |
|
||||
~ Negation [2's complement], X=~X |
|
||||
|
|
||||
Negatioî affectó onlù thå Ø register® Thå otheò operationó uså thå numberó � |
|
||||
iî thå firsô twï registeró Ø anä Ù aó operands¬ anä displaù thå resulô iî � |
|
||||
thå Ø register¬ droppinç thå stack. |
|
||||
|
|
||||
Wheî aî integeò divisioî ió performed¬ yoõ arå ofteî interesteä iî botè thå � |
|
||||
quotienô anä thå remainder® Thå remaindeò ió saveä iî thå speciaì reserveä � |
|
||||
memorù registeò Ò durinç thå divisioî operation® Memorù registeò Ò maù bå � |
|
||||
accesseä jusô likå anù oæ thå regulaò memorù registeró 0-5® Iô maù alsï bå � |
|
||||
useä tï storå numberó likå anù otheò register¬ buô anù contentó wilì bå � |
|
||||
overwritteî bù thå remaindeò durinç integeò divisioî operations. |
|
||||
|
|
||||
Thå consolå belì wilì rinç iæ aî undefineä keù ió presseä aó aî operator® � |
|
||||
Iô wilì alsï rinç anä thå currenô multiplicatioî (*)¬ divisioî (/© oò � |
|
||||
exponentiatioî (^© functioî wilì noô operatå iæ 16-biô overflo÷ occuró oò � |
|
||||
iæ divisioî bù ° ió attempted® Thå stacë ió lefô unchanged® Uså thå � |
|
||||
backspacå keù tï deletå thå offendinç operanä iæ yoõ wisè tï trù again. |
|
||||
:M |
|
||||
Memory Storage Registers |
|
||||
|
|
||||
Therå arå ¶ memorù storagå registeró numbereä 0-µ thaô maù bå useä tï storå � |
|
||||
constantó oò intermediatå valueó durinç calculations¬ foò recalleä aó � |
|
||||
needeä later® Thå contentó oæ memorù registeró arå noô affecteä bù thå � |
|
||||
cleaò stacë (^X© operation® Eitheò uppeò oò loweò caså letteró maù bå useä � |
|
||||
tï specifù memorù registeò Storå oò Recalì functions. |
|
||||
|
|
||||
Storing a Number |
|
||||
|
|
||||
Thå numbeò iî thå Ø registeò maù bå storeä iî anù oæ thå memorù registeró � |
|
||||
usinç thå commanä 'S§ followeä bù thå numbeò oæ thå desireä memorù � |
|
||||
register® Thå previouó contentó oæ thå memorù registeò wilì bå � |
|
||||
overwritten¬ buô thå numbeò iî thå Ø registeò wilì noô bå affected® Foò � |
|
||||
example¬ tï storå thå numbeò iî registeò Ø iî memorù registeò 2¬ enteò � |
|
||||
'S2'® |
|
||||
Recalling a Number |
|
||||
|
|
||||
Numberó maù bå recalleä froí á memorù registeò tï registeò Ø usinç thå 'R§ � |
|
||||
commanä followeä bù thå numbeò oæ thå memorù register® Thå stacë wilì bå � |
|
||||
lifted¬ pushinç thå previouó contentó oæ registeò Ø intï registeò Y¬ buô � |
|
||||
thå numbeò iî thå memorù registeò wilì noô bå affected® Foò example¬ tï � |
|
||||
recalì memorù registeò ° tï registeò X¬ enteò 'R0'. |
|
||||
|
|
||||
Remainder Register |
|
||||
|
|
||||
Aî additionaì speciaì memorù registeò Ò ió useä bù thå divisioî operatioî � |
|
||||
tï storå thå remainder® Iô maù alsï bå useä tï storå anä recalì numbers¬ � |
|
||||
buô anù contentó wilì bå overwritteî durinç á divisioî operation® Thå � |
|
||||
commanä 'RR§ (Recalì Remainder© afteò á divisioî operatioî wilì storå á � |
|
||||
copù oæ thå remaindeò iî registeò Ø anä pusè thå quotienô tï registeò Y® � |
|
||||
Aî exchangå (=© operatioî wilì swað theí iæ desired® |
|
||||
:N:HP-RPN.HLP |
|
||||
:Z:ZP.HLP |
|
||||
|
|
||||
@ -1,344 +0,0 @@ |
|||||
; |
|
||||
Z P |
|
||||
|
|
||||
Version 1.7 |
|
||||
|
|
||||
A ZCPR3 Screen-Oriented File/Disk/Memory Patcher |
|
||||
|
|
||||
I --> Installation |
|
||||
C --> Configuration |
|
||||
O --> Overview |
|
||||
S --> Syntax |
|
||||
R --> Running ZP |
|
||||
M --> Memory Mode |
|
||||
D --> Disk Mode |
|
||||
F --> File Mode |
|
||||
X --> String Search |
|
||||
E --> Record Edit |
|
||||
H --> HP Calculator |
|
||||
Q --> HP Quik Ref |
|
||||
K --> Record Cache |
|
||||
:I |
|
||||
Installation |
|
||||
|
|
||||
Thå distributioî versioî oæ ZÐ ió supplieä readù foò uså iî ZCPR33« � |
|
||||
environments® ZCPR3° useró shoulä instalì ZÐ usinç theiò normaì method® |
|
||||
:C |
|
||||
Configuration� |
|
||||
|
|
||||
ZCNFÇ anä ZP.CFÇ maù bå useä tï configurå ZÐ tï alteò thå operatioî oæ thå � |
|
||||
prograí tï suiô thå user® Defaulô values¬ sucè aó thå startinç memorù modå � |
|
||||
addresó anä thå ASCIÉ recorä characteò displaù modå maù bå configured® |
|
||||
|
|
||||
Thå linå graphicó menõ boø displaù maù bå configureä tï displaù thå menõ � |
|
||||
boø iî linå graphicó (foò useró witè reverså videï standout)¬ standouô linå � |
|
||||
graphicó (foò useró witè darë screenó anä dií standout© anä tï noô displaù � |
|
||||
thå menõ boø aô all. |
|
||||
|
|
||||
Foò useró witè reverså videï standouô anä unblinkinç blocë cursors¬ ZÐ maù � |
|
||||
bå configureä tï refresè thå recorä displaù oî enterinç thå ediô modå iî � |
|
||||
ordeò tï deletå thå standouô videï placå markeró produceä bù á strinç � |
|
||||
searcè oò aî addresó find® Thå heø recorä displaù standouô markeò caî � |
|
||||
causå confusioî wheî attemptinç tï ediô thå markeä byte witè aî unblinkinç � |
|
||||
cursor. |
|
||||
|
|
||||
ZÐ maù alsï bå configureä tï cleaò thå screeî oî exit® Thå defaulô ió tï � |
|
||||
leave the screen display on screen. |
|
||||
:O |
|
||||
Overview� |
|
||||
|
|
||||
ZÐ (Zcpr3 Patcher© ió á Z8° screen-orienteä recorä editor-patcher® ZP.1OM¬ � |
|
||||
á typå ± version¬ loadinç anä executinç aô 100h¬ wilì ruî undeò anù versioî � |
|
||||
oæ ZCPR3® ZP.4OM¬ á typå ´ version¬ executeó onlù undeò ZCPR34+¬ Z3PLUÓ oò � |
|
||||
BGii® Botè versionó requirå aî extendeä Z3TCAÐ (aó defineä bù VLIB4D+© anä � |
|
||||
alsï requirå thaô thå ZCPR³ wheeì bytå bå set® Thå sourcå codå maù alsï bå � |
|
||||
assembleä tï producå á typå ³ version¬ runninç aô 8000è undeò ZCPR33+¬ �ŠZ3PLUÓ oò BGii. |
|
||||
|
|
||||
ZÐ waó originallù looselù baseä oî SUPERZAP¬ aká SPÚ oò ZAP33¬ anä waó � |
|
||||
developeä aó á work-alikå foò Steveî Cohen'ó greaô ZPATCH1° thaô would¬ iî � |
|
||||
additioî tï editinç filå records¬ alsï providå screen-orienteä editinç oæ � |
|
||||
memorù anä disë records® ZÐ ió intendeä tï complemenô ratheò thaî replacå � |
|
||||
ZPATCH¬ aó welì aó tï complemenô Roâ Friefeld'ó excellenô BCOMÐ anä VCOMP¬ � |
|
||||
especiallù wheî theù arå patcheä tï uså thå ZPATCH/WÓ commanä sets® Iî � |
|
||||
ordeò tï keeð ZÐ relativelù simple¬ iô lackó ZPATCH'ó comprehensivå strinç � |
|
||||
searcè optionó anä doeó noô havå á commanä tï senä thå currenô recorä tï � |
|
||||
thå printer® Unlikå ZPATCH¬ ZÐ ió á transienô utilitù anä noô á shell. |
|
||||
|
|
||||
ZÐ haó á one-recorä cachå foò temporarù recorä storagå anä caî movå thå � |
|
||||
cachå contentó betweeî file¬ memorù anä disë records® Thió allowó you¬ foò � |
|
||||
example¬ tï takå á one-recorä Z3TCAP.Z3Ô filå anä patcè iô intï memorù iî � |
|
||||
thå ZCPR³ environment® |
|
||||
|
|
||||
ZÐ alsï containó thå powerfuì anä full-featureä HP12 RPÎ programmer'ó � |
|
||||
integeò calculator¬ whicè maù bå calleä uð iî file¬ disk¬ memorù oò recorä � |
|
||||
ediô modeó (eveî durinç thå editinç process)¬ tï perform¬ savå oò recalì � |
|
||||
thå resultó oæ integeò calculationó oò logicaì operationó iî hex¬ decimal¬ � |
|
||||
binary¬ oò characteò modes® |
|
||||
:S |
|
||||
Syntax� |
|
||||
|
|
||||
Whilå ZÐ allowó thå useò tï freelù switcè amonç modeó durinç prograí � |
|
||||
operation¬ iô alsï maù bå instructeä tï comå uð iî thå desireä initiaì modå � |
|
||||
bù usinç thå followinç commanä linå syntax: |
|
||||
|
|
||||
ZP [hex_addr] - Memory mode at hex address |
|
||||
ZP dir: - Disk mode |
|
||||
ZP [dir:]afn - File mode |
|
||||
ZP // - Display syntax help screen |
|
||||
:R |
|
||||
Running ZP |
|
||||
|
|
||||
Excepô foò thå HÐ calculator¬ ZÐ ió menu-driveî anä useó commandó similaò � |
|
||||
tï ZPATCH10¬ sï iô shoulä requirå littlå iî thå waù oæ instruction® Morå � |
|
||||
specifiã informatioî abouô thå operatioî oæ eacè modå maù bå founä iî thå � |
|
||||
following sectionó. |
|
||||
|
|
||||
Severaì alternatå commands¬ however¬ dï noô appeaò iî thå menu® Foò � |
|
||||
example¬ therå arå severaì alternatå exiô commands® Whilå thå 'Q§ commanä � |
|
||||
ió thå onlù exiô commanä showî iî thå commanä menus¬ 'X§ anä ESÃ arå � |
|
||||
also accepted as exiô commands® |
|
||||
|
|
||||
Foò easieò browsing¬ thå spacå characteò ió accepteä aó aî alternatå next-� |
|
||||
screeî commanä aô thå memory¬ filå anä disë menus. |
|
||||
ASCII Record Display Mode |
|
||||
|
|
||||
ZÐ caî displaù characteró iî thå ASCIÉ parô oæ thå recorä displaù iî onå oæ � |
|
||||
twï user-selectablå ways® ZP'ó distributioî defaulô ASCIÉ displaù modå � |
|
||||
displays onlù thå actuaì displayablå characters¬ displayinç alì otheò � |
|
||||
characteró aó '.'s® Thió typå oæ display¬ typicaì oæ DDT¬ ió relativelù � |
|
||||
uncluttereä buô iô ió morå difficulô tï reaä texô thaô haó thå higè bitó oæ � |
|
||||
characters set, such as WordStaò fileó anä disë directorieó. |
|
||||
|
|
||||
Alternately¬ ZÐ caî bå commandeä tï filteò thå higè bitó oæ thå characteró � |
|
||||
beinç displayed¬ convertinç ASCIÉ characteró witè thå higè biô seô tï � |
|
||||
displayablå characteró anä displayinç alì otheò characteró aó '.'s® Thió � |
|
||||
typå oæ display¬ typicaì oæ PEEK¬ convertó morå characteró tï ASCII® Whilå � |
|
||||
iô caî ofteî appeaò morå cluttered¬ iô ió easieò tï reaä WordStaò fileó anä � |
|
||||
disë directorieó iî thió mode® |
|
||||
|
|
||||
Durinç operation¬ thå useò caî togglå thå typå oæ ASCIÉ displaù desireä bù � |
|
||||
usinç thå non-menõ commanä Control-Á (^A© aô anù oæ thå maiî modå menus® � |
|
||||
Therå ió alsï á ZCNFG-configurablå flaç thaô controló thå defaulô ASCIÉ � |
|
||||
displaù mode® |
|
||||
:M |
|
||||
Memory Mode |
|
||||
|
|
||||
Memorù modå ió ZP'ó defaulô modå oæ operatioî wheî nï otheò modå ió � |
|
||||
specifieä oî thå commanä line® Iæ nï startinç addresó ió specifieä oî thå � |
|
||||
commanä line¬ thå addresó oæ thå ZCPR³ environmenô ió thå defaulô startinç � |
|
||||
addresó foò thå ZÐ display¬ buô ZCNFÇ maù bå useä tï configurå á differenô � |
|
||||
defaulô startinç address¬ sucè aó 100h¬ iæ desired® Thå displaù wilì alsï � |
|
||||
starô aô thió configureä addresó wheî memorù modå ió entereä froí anotheò � |
|
||||
ZÐ mode. |
|
||||
|
|
||||
Iæ yoõ includå á startinç addresó oî thå commanä linå (uð tï ´ hexidecimaì � |
|
||||
characteró witè NÏ non-heø characters)¬ ZÐ wilì begiî itó displaù aô thå � |
|
||||
memorù recorä containinç thå specifieä address® Á subsequenô ediô commanä � |
|
||||
wilì alsï begiî aô thå specifieä address® |
|
||||
|
|
||||
ZÐ useó thå commanä buffeò aô 80è aó itó workinç recorä buffer¬ sï wheneveò � |
|
||||
yoõ vie÷ thå commanä buffeò record¬ yoõ wilì actuallù bå lookinç aô á copù � |
|
||||
oæ thå recorä thaô waó previouslù viewed® Notå ho÷ thå commanä buffeò � |
|
||||
displaù changeó wheî yoõ steð througè iô froí oppositå directions® Wheî iô � |
|
||||
ió displayinç thå commanä buffeò contents¬ ZÐ alsï displayó á speciaì � |
|
||||
headeò tï reminä yoõ thaô yoõ arå viewinç thå commanä buffer¬ aó iô ió � |
|
||||
generallù inadvisablå (anä usuallù futile© tï attempô tï ediô thå contentó � |
|
||||
oæ thå commanä buffer. |
|
||||
|
|
||||
Thå 'T§ (Toð oæ Memory© commanä displayó thå highesô memorù recorä (FF80h-� |
|
||||
FFFFh© anä thå 'B§ (Bottoí oæ Memory© commanä displayó thå firsô memorù � |
|
||||
recorä (0000h-007Fh)® |
|
||||
|
|
||||
Thå 'A§ commanä allowó yoõ tï selecô thå addresó oæ á memorù 'record§ tï � |
|
||||
view® ZÐ wilì displaù thå 12¸ bytå 'record§ containinç thaô address¬ witè � |
|
||||
thå bytå aô thå specifieä addresó highlighteä iî botè thå Heø anä ASCIÉ � |
|
||||
displays® Iæ thå ediô modå ió subsequentlù selected¬ thå ediô cursoò wilì � |
|
||||
alsï bå positioneä aô thå specifieä address. |
|
||||
:D |
|
||||
Disk Mode |
|
||||
|
|
||||
Wheî yoõ selecô thå drivå yoõ wisè tï accesó iî disë mode¬ yoõ maù alsï � |
|
||||
specifù á useò area¬ usinç eitheò á DUº oò DIRº specification® Thå � |
|
||||
specifieä drive/useò theî becomeó thå defaulô foò anù subsequenô filå � |
|
||||
accesses. |
|
||||
|
|
||||
ZÐ startó thå disë modå displaù witè thå firsô directorù record® Otheò � |
|
||||
recordó maù bå selecteä bù block¬ record¬ oò track® |
|
||||
|
|
||||
Floppù disë systeí tracë recordó maù bå displayeä bù selectinç tracë ° oò � |
|
||||
bù steppinç bacë froí thå directory® Harä disë systeí recordó maù bå � |
|
||||
displayeä wheî thå 'first§ disë (á DPÂ OFFSEÔ oæ lesó thaî 10© ió loggeä � |
|
||||
in® Otherwiså thå displaù ió limiteä tï thå actuaì loggeä disë tracks® � |
|
||||
Wheî steppinç pasô thå firsô oò lasô tracë oò recorä oæ thå disk¬ ZÐ wilì � |
|
||||
wrað arounä tï thå otheò enä oæ thå disk. |
|
||||
:F |
|
||||
File Mode |
|
||||
|
|
||||
Thå drive/useò containeä iî anù filenamå specificatioî becomeó thå defaulô � |
|
||||
foò anù subsequenô filå oò disë accesses® |
|
||||
|
|
||||
Wheî wildcarä filenameó arå entered¬ ZÐ wilì displaù thå firsô filå founä � |
|
||||
iî thå directorù thaô matcheó thå specifieä ambiguouó filename® Iæ thå � |
|
||||
filenamå entereä ió á COÍ file¬ á displaù offseô oæ 0100è wilì bå addeä � |
|
||||
automaticallù tï thå filå recorä addresseó sï thaô thå firsô filå recorä � |
|
||||
wilì starô aô á displaù addresó oæ 0100h® Otheò filå typeó wilì bå � |
|
||||
displayeä startinç aô aî addresó oæ 0000è (offseô ½ 0)® Thå 'O§ (Offset© � |
|
||||
commanä allowó yoõ tï changå thå displaù offseô aó desired. |
|
||||
|
|
||||
Thå 'A§ commanä allowó yoõ tï selecô aî addresó iî thå file® ZÐ wilì � |
|
||||
displaù thå 12¸ bytå recorä containinç thaô address¬ witè thå bytå aô thå � |
|
||||
specifieä addresó highlighteä iî botè thå Heø anä ASCIÉ displays® Iæ thå � |
|
||||
ediô modå ió subsequentlù selected¬ thå ediô cursoò wilì alsï bå positioneä � |
|
||||
aô thå specifieä address. |
|
||||
:X |
|
||||
String Search |
|
||||
|
|
||||
ZP'ó strinç searcè functioî ió similaò tï ZPATCH's¬ buô iô ió mucè morå � |
|
||||
basiã anä haó nï options® Stringó tï bå locateä maù bå entereä aó heø oò � |
|
||||
ASCIÉ characteró oò anù combination® ASCIÉ stringó arå entereä delimiteä � |
|
||||
bù singlå oò doublå quoteó anä wilì bå automaticallù capitalized® Heø � |
|
||||
characteró arå entereä delimiteä bù commaó oò spaces® Botè singlå anä � |
|
||||
doublå quotå characteró musô bå entereä aó heø characters® Thå remaindeò �Šoæ thå terminaì displaù linå afteò thå prompt¬ abouô 4µ characters¬ maù bå � |
|
||||
useä foò characteò entry® Foò example¬ thå entry: |
|
||||
|
|
||||
'Fil',65,6e,61 "me" will create the search string 'FILENAME' |
|
||||
|
|
||||
Á fe÷ compromiseó anä assumptionó havå beeî madå sï thaô thå samå searcè � |
|
||||
routinå maù bå useä iî alì situations® Wheî doinç thå search¬ ZÐ wilì � |
|
||||
firsô comparå á searcè characteò witè thå buffeò characteò withouô regarä � |
|
||||
tï ASCIÉ case® Iæ nï matcè ió found¬ thå buffeò characteò wilì bå filtereä � |
|
||||
anä capitalizeä (iæ ASCII© anä anotheò comparisoî made® Thió allowó yoõ tï � |
|
||||
searcè foò texô iî WordStaò fileó oò disë directorieó withouô worryinç � |
|
||||
abouô caså oò higè bits¬ whilå stilì retaininç thå abilitù tï dï searcheó � |
|
||||
foò heø characteró sucè aó commanä oò addresó characters® Foò example: |
|
||||
|
|
||||
'Filename§ wilì matcè 'FILEN','A'+80h,'ME§ or 'FILENAME§ |
|
||||
(wherå thå 'A§ haó thå higè biô set)¬ while � |
|
||||
|
|
||||
'Filen',E1,"me¢ wilì matcè 'FILEN','A'+80h,'ME'¬ buô noô � |
|
||||
'FILENAME§ (specificallù insistinç oî aî exacô matcè � |
|
||||
foò E1h¬ whicè ió 'A§ witè thå higè biô set). |
|
||||
|
|
||||
Aó á resulô oæ thió relativelù simplå searcè scheme¬ heø searcè characteró � |
|
||||
thaô happeî tï alsï bå loweò caså ASCIÉ characteró wilì matcè botè exacô � |
|
||||
anä 'capitalized§ characters¬ whicè mighô resulô iî aî occasionaì falså � |
|
||||
positivå match® Foò examplå 65è ('e'© wilì matcè botè 65è anä 45è ('E'). |
|
||||
|
|
||||
Strinç searcheó maù bå stoppeä aô anù timå bù enterinç anù character® Disë � |
|
||||
modå strinç searcheó wilì continuå untiì á matcè ió founä oò untiì yoõ stoð � |
|
||||
thå search¬ wrappinç aô thå lasô tracë bacë tï thå firsô track® |
|
||||
|
|
||||
Wheî thå 'C§ commanä ió useä tï continuå á search¬ thå searcè wilì starô � |
|
||||
froí thå addresó oæ thå lasô matcè iæ iô ió locateä iî thå recorä currentlù � |
|
||||
displayed¬ otherwiså iô wilì starô aô thå beginninç oæ thå currenô record. |
|
||||
|
|
||||
Wheî á strinç ió located¬ thå recorä iî whicè iô ió founä wilì bå displayeä � |
|
||||
anä thå firsô bytå oæ thå strinç wilì bå highlighteä iî botè thå Heø anä � |
|
||||
ASCIÉ displays® Iæ thå ediô modå ió theî selected¬ thå ediô cursoò wilì bå � |
|
||||
positioneä aô thå starô oæ thå founä string® Iæ á strinç ió noô found¬ thå � |
|
||||
currenô recorä wilì bå redisplayed. |
|
||||
:E |
|
||||
Record Edit |
|
||||
|
|
||||
ZP¬ likå ZPATCH¬ useó thå WordStaò diamonä keyó (^S¬ ^E¬ ^D¬ ^X© tï controì � |
|
||||
thå cursoò durinç editing® Thå backspacå keù ió aî alternatå tï ^Ó tï movå � |
|
||||
thå cursoò left® Thå arro÷ keyó defineä iî thå Z3TCAÐ arå alsï mappeä aó � |
|
||||
alternatå cursoò controì keys¬ eveî thougè theù arå noô showî iî thå ediô � |
|
||||
modå commanä menu® |
|
||||
|
|
||||
Somå terminals¬ sucè aó ANSÉ terminals¬ have arro÷ keyó thaô generatå morå � |
|
||||
thaî onå character® Foò theså terminals¬ thå arro÷ keù definitionó iî thå � |
|
||||
Z3TCAÐ wilì probablù bå thå WordStaò diamonä keys® Pressinç aî actuaì � |
|
||||
arro÷ keù maù causå itó strinç tï bå interpreteä bù ZÐ aó thå equivalenô � |
|
||||
serieó oæ characters® Thió wilì usuallù bå undesirable® Iî thå caså oæ � |
|
||||
ANSÉ terminals¬ thå arro÷ codeó wilì causå aî exiô froí ZP. |
|
||||
|
|
||||
Wheî thå ediô modå ió entereä followinç á strinç searcè oò aî addresó � |
|
||||
specification¬ thå ediô cursoò wilì bå placeä aô thå beginninç oæ thå founä � |
|
||||
strinç oò aô thå specifieä address® Specifyinç thå desireä ediô addresó � |
|
||||
beforå enterinç thå ediô modå ió á quicë waù tï directlù reacè thå desireä � |
|
||||
addresó iî thå recorä beinç edited® Thå addresó oæ thå bytå currentlù � |
|
||||
beinç editeä ió displayeä iî thå ediô modå menõ box. |
|
||||
|
|
||||
Thå ESÃ keù toggleó thå ediô modå betweeî thå Heø anä ASCIÉ displays® |
|
||||
|
|
||||
ZÐ haó á speciaì Filì commanä (^F© thaô allowó yoõ tï filì á numbeò oæ � |
|
||||
byteó iî thå 12¸ bytå recorä beinç editeä witè á specifieä filì byte® Thå � |
|
||||
fill syntaø isº |
|
||||
|
|
||||
Filì bytå (iî heø oò quoteä ASCII: 0, e5, ff, '*', etc) |
|
||||
Separatoò (comma¬ spacå oò tab© � |
|
||||
Decimaì numbeò oæ byteó tï bå filled (* = fill to end of record) |
|
||||
|
|
||||
Filló begin witè thå currenô cursoò position® Filì lengthó uð tï 25µ (FFh© � |
|
||||
wilì bå accepted¬ buô á maximuí oæ 12¸ byteó can bå filled® Thå filì wilì � |
|
||||
alwayó stoð aô thå enä oæ thå recorä iæ yoõ enteò á lengtè greateò thaî thå � |
|
||||
numbeò oæ byteó remaininç iî thå record® Yoõ maù alsï enteò thå speciaì � |
|
||||
lengtè characteò ª tï telì ZÐ tï filì tï thå enä oæ thå record® Enteò '?§ � |
|
||||
aô thå filì prompô foò á helð screen. |
|
||||
|
|
||||
ZÐ useó thå ZPATCÈ commandó tï exiô thå ediô mode® Enteò ^Ñ tï quiô � |
|
||||
withouô savinç thå changes¬ anä enteò ^× tï savå thå changeó anä exit® |
|
||||
:Q |
|
||||
HP Calculator Quick Reference |
|
||||
|
|
||||
ZÐ containó thå powerfuì anä full-featureä HP12 RPÎ programmer'ó integeò � |
|
||||
calculator® Thå calculatoò maù bå calleä uð aô anù timå (eveî durinç thå � |
|
||||
editinç process© tï perform¬ savå oò recalì thå resultó oæ integeò � |
|
||||
calculationó oò logicaì operationó iî hex¬ decimal¬ binary¬ oò characteò � |
|
||||
modes® |
|
||||
|
|
||||
Thå calculatoò ió botè invokeä anä exiteä bù enterinç ^C® Sincå thå � |
|
||||
calculatoò retainó alì registeò informatioî aó lonç aó ZÐ ió running¬ � |
|
||||
calculatoò registeró maù bå useä tï storå referencå datá betweeî otheò ZÐ � |
|
||||
operations® Thå calculatoò maù alsï bå invokeä durinç recorä editinç � |
|
||||
operationó withouô affectinç thå editinç procesó iî anù way. |
|
||||
HP12 Command Summary |
|
||||
|
|
||||
^X Clear entire stack |
|
||||
BS Delete last character |
|
||||
<RET> Enter number into register X |
|
||||
= Exchange the contents of X and Y |
|
||||
L Restore last X value |
|
||||
< or , Roll stack down one level |
|
||||
> or . Roll stack up one level |
|
||||
Sn Store contents of X in memory register n (0-5 or R) |
|
||||
Rn Recall contents of memory register n to register X |
|
||||
^C Exit HP12 |
|
||||
|
|
||||
HP12 Math Function Summary |
|
||||
|
|
||||
« Addition¬ X=Y+Ø� |
|
||||
Subtraction¬ X=Y-Ø� |
|
||||
ª Multiplication¬ X=Y*Ø� |
|
||||
Þ Exponentiation¬ X=Y^Ø (Y to the power X)� |
|
||||
¯ Integeò quotient¬ X=INT(Y/X©� |
|
||||
- Remainder in Register R=X*(Y/X-INT(Y/X)© � |
|
||||
¦ Bitwiså AND¬ X=Y&X� |
|
||||
ü Bitwiså OR¬ X=Y|X� |
|
||||
þ Negatioî [2'ó complement]¬ X=~Ø |
|
||||
:K |
|
||||
Record Cache |
|
||||
|
|
||||
ZÐ provideó á one-recorä buffeò intï whicè yoõ caî copù thå currentlù � |
|
||||
displayeä record® Yoõ caî lateò exchangå thå cacheä recorä witè thå recorä � |
|
||||
beinç currentlù displayed® Thió allowó you¬ foò example¬ tï experimentallù � |
|
||||
ediô á recorä whilå maintaininç á copù oæ thå unediteä recorä iî thå cachå � |
|
||||
buffer® Notå thaô wheî yoõ exiô ZP¬ thå contentó oæ thå cachå buffeò wilì � |
|
||||
bå lost¬ sï iæ yoõ wisè tï preservå á record¬ exchangå iô witè á recorä � |
|
||||
froí á 'holding§ filå oæ aô leasô onå recorä iî lengtè thaô yoõ havå � |
|
||||
previouslù reserveä foò recorä storagå (ZÐ wilì noô creatå files.© Yoõ caî � |
|
||||
alsï savå á cacheä recorä iî aî unuseä 12¸ bytå 'record§ iî memory¬ usinç � |
|
||||
SAVE.COÍ tï savå thå memorù recorä tï á filå afteò yoõ exiô ZP® Finally¬ � |
|
||||
ZÐ contentó wilì remaiî preserveä iæ yoõ reenteò iô usinç thå JUMÐ (tï thå � |
|
||||
loaä addresó displayeä iî thå signoî banner© command¬ assuminç thaô yoõ � |
|
||||
haven'ô overwritteî thå ZÐ locations. |
|
||||
|
|
||||
Thå seconä ZÐ statuó linå displayó thå thå origiî oæ thå current cacheä � |
|
||||
record® Copyinç á recorä intï thå cachå wilì overwritå thå previouó � |
|
||||
contentó oæ thå cache® Performinç á cachå copù oò exchangå operatioî � |
|
||||
automaticallù returnó yoõ tï youò previouó modå anä updateó thå currenô � |
|
||||
recorä display. |
|
||||
:N:HP-RPN.HLP |
|
||||
:H:HP-ZP.HLP |
|
||||
|
|
||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue