home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LBR Archive
(archive/lbr).
You can browse this item here: hp.lbr
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LBR Archive (archive/lbr)
| magic
| Supported |
66%
| dexvert
| Hippel Module (music/hippel)
| ext
| Supported |
1%
| dexvert
| Micro Focus COBOL library (other/microFocusCobolLibrary)
| ext
| Unsupported |
1%
| dexvert
| Micro Focus COBOL Library (other/microFocusCOBOLLibrary)
| ext
| Unsupported |
100%
| file
| LBR archive data
| default
| |
99%
| file
| data
| default
| |
87%
| TrID
| LU library
| default
| |
12%
| TrID
| C64 Hires bitmap
| default (weak)
| |
100%
| lsar
| LBR
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 20 20 20 20 20 20 20 | 20 20 20 20 00 00 04 00 |. | ....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 48 50 20 20 20 20 20 | 20 43 4f 4d 04 00 0c 00 |.HP | COM....|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 48 50 20 20 20 20 20 | 20 44 4f 43 10 00 2f 00 |.HP | DOC../.|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| ff 20 20 20 20 20 20 20 | 20 20 20 20 00 00 00 00 |. | ....|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| c3 25 01 0d 48 50 20 31 | 2e 30 20 2d 20 45 2e 4d |.%..HP 1|.0 - E.M|
|00000210| 65 79 65 72 20 39 2f 38 | 34 20 20 20 20 20 20 20 |eyer 9/8|4 |
|00000220| 20 20 20 00 1a 21 00 00 | 39 22 83 06 31 a5 06 af | ..!..|9"..1...|
|00000230| 32 7e 06 21 03 01 cd 3a | 06 cd f9 03 2a 5d 06 cd |2~.!...:|....*]..|
|00000240| 36 05 21 74 06 06 08 36 | 20 23 05 c2 47 01 21 74 |6.!t...6| #..G.!t|
|00000250| 06 cd 3a 06 af 32 7d 06 | cd 46 06 fe 03 ca 9f 03 |..:..2}.|.F......|
|00000260| fe 1b ca 42 03 fe 2b ca | d6 02 fe 2d ca cb 02 fe |...B..+.|...-....|
|00000270| 2a ca 94 02 fe 5e ca a3 | 02 fe 2f ca 85 02 fe 25 |*....^..|../....%|
|00000280| ca 75 02 fe 26 ca 66 02 | fe 7c ca 51 02 fe 7e ca |.u..&.f.|.|.Q..~.|
|00000290| 3e 02 fe 0d ca 1b 02 fe | 08 ca e4 01 fe 3d ca 29 |>.......|.....=.)|
|000002a0| 02 fe 18 ca 0c 02 fe 53 | ca e0 02 fe 73 ca e0 02 |.......S|....s...|
|000002b0| fe 52 ca 04 03 fe 72 ca | 04 03 fe 21 da d1 03 21 |.R....r.|...!...!|
|000002c0| 75 06 11 74 06 01 07 00 | ed b0 32 7b 06 3e ff 32 |u..t....|..2{.>.2|
|000002d0| 7d 06 21 03 01 cd 3a 06 | cd f9 03 21 74 06 cd 3a |}.!...:.|...!t..:|
|000002e0| 06 c3 58 01 3a 7d 06 b7 | ca fe 01 21 7a 06 11 7b |..X.:}..|...!z..{|
|000002f0| 06 01 07 00 ed b8 3e 20 | 32 74 06 c3 d2 01 21 00 |......> |2t....!.|
|00000300| 00 22 5d 06 3e ff 32 7e | 06 c3 33 01 21 5d 06 06 |."].>.2~|..3.!]..|
|00000310| 10 36 00 23 05 c2 11 02 | c3 33 01 cd ae 03 cd ed |.6.#....|.3......|
|00000320| 03 3e ff 32 7e 06 c3 33 | 01 cd ae 03 2a 5d 06 eb |.>.2~..3|....*]..|
|00000330| 2a 5f 06 eb 22 5f 06 eb | 22 5d 06 c3 2f 01 cd ae |*_.."_..|"]../...|
|00000340| 03 2a 5d 06 7c 2f 67 7d | 2f 6f 23 22 5d 06 c3 2f |.*].|/g}|/o#"]../|
|00000350| 01 cd ae 03 cd a6 03 7c | b2 67 7d b3 6f 22 5f 06 |.......||.g}.o"_.|
|00000360| cd e1 03 c3 2f 01 cd ae | 03 cd a6 03 7c a2 67 7d |..../...|....|.g}|
|00000370| a3 6f c3 5d 02 cd ae 03 | cd a6 03 cd 2a 04 da d9 |.o.]....|....*...|
|00000380| 03 eb c3 5d 02 cd ae 03 | cd a6 03 cd 2a 04 da d9 |...]....|....*...|
|00000390| 03 c3 5d 02 cd ae 03 cd | a6 03 cd 0a 04 da d9 03 |..].....|........|
|000003a0| c3 5d 02 cd ae 03 cd a6 | 03 7a b3 c2 b4 02 21 01 |.]......|.z....!.|
|000003b0| 00 c3 5d 02 42 4b 54 5d | 0b 78 b1 ca 5d 02 c5 d5 |..].BKT]|.x..]...|
|000003c0| cd 0a 04 d1 c1 da d9 03 | c3 b8 02 cd ae 03 cd a6 |........|........|
|000003d0| 03 ed 52 c3 5d 02 cd ae | 03 cd a6 03 19 c3 5d 02 |..R.]...|......].|
|000003e0| cd ae 03 cd 46 06 fe 34 | d2 d9 03 d6 31 da d9 03 |....F..4|....1...|
|000003f0| 87 5f 16 00 21 6d 06 19 | 3a 5d 06 77 23 3a 5e 06 |._..!m..|:].w#:^.|
|00000400| 77 c3 2f 01 cd ae 03 cd | 46 06 fe 34 d2 d9 03 d6 |w./.....|F..4....|
|00000410| 31 da d9 03 87 5f 16 00 | 21 6d 06 19 3a 7e 06 b7 |1...._..|!m..:~..|
|00000420| c2 28 03 e5 cd ed 03 e1 | 7e 32 5d 06 23 7e 32 5e |.(......|~2].#~2^|
|00000430| 06 c3 2f 01 2b 2d 2a 5e | 2f 25 26 7e 3d 7c 73 53 |../.+-*^|/%&~=|sS|
|00000440| 72 52 cd 46 06 21 34 03 | 06 0e be ca bf 01 23 05 |rR.F.!4.|......#.|
|00000450| c2 4a 03 e6 5f f5 cd ae | 03 f1 fe 48 ca 71 03 fe |.J.._...|...H.q..|
|00000460| 44 ca 7a 03 fe 42 ca 83 | 03 fe 43 ca 8c 03 c3 d9 |D.z..B..|..C.....|
|00000470| 03 21 73 04 11 39 05 c3 | 92 03 21 bf 04 11 6e 05 |.!s..9..|..!...n.|
|00000480| c3 92 03 21 03 05 11 e9 | 05 c3 92 03 21 29 05 11 |...!....|....!)..|
|00000490| 05 06 32 73 06 22 71 04 | eb 22 37 05 c3 2f 01 2a |..2s."q.|."7../.*|
|000004a0| 83 06 f9 c3 00 00 2a 5d | 06 eb 2a 5f 06 c9 3a 7d |......*]|..*_..:}|
|000004b0| 06 b7 c8 21 74 06 cd 5e | 04 da d0 03 3a 7e 06 b7 |...!t..^|....:~..|
|000004c0| c2 c8 03 e5 cd ed 03 e1 | 22 5d 06 af 32 7e 06 c9 |........|"]..2~..|
|000004d0| e1 3e 07 cd 2d 06 c3 d2 | 01 3e 07 cd 2d 06 c3 2f |.>..-...|.>..-../|
|000004e0| 01 21 5f 06 11 5d 06 01 | 0e 00 ed b0 c9 21 6a 06 |.!_..]..|.....!j.|
|000004f0| 11 6c 06 01 0e 00 ed b8 | c9 3a 73 06 cd 2d 06 3e |.l......|.:s..-.>|
|00000500| 3e cd 2d 06 3e 20 cd 2d | 06 c9 4d 44 21 00 00 3e |>.-.> .-|..MD!..>|
|00000510| 0f f5 b2 f2 1a 04 09 da | af 04 29 da af 04 eb 29 |........|..)....)|
|00000520| eb f1 3d c2 11 04 b2 f0 | 09 c9 7b b2 ca b0 04 4d |..=.....|..{....M|
|00000530| 44 21 00 00 3e 10 b7 32 | 7f 06 cb 11 cb 10 cb 15 |D!..>..2|........|
|00000540| cb 14 22 81 06 ed 52 3f | da 4e 04 2a 81 06 3a 7f |.."...R?|.N.*..:.|
|00000550| 06 3d c2 37 04 eb cb 11 | 69 cb 10 60 b7 c9 e5 7e |.=.7....|i..`...~|
|00000560| b7 ca 6f 04 fe 20 c2 6f | 04 36 30 23 c3 5f 04 e1 |..o.. .o|.60#._..|
|00000570| c3 73 04 06 04 cd b2 04 | cd 86 04 d8 57 23 cd 86 |.s......|....W#..|
|00000580| 04 d8 5f eb b7 c9 cd 97 | 04 d8 07 07 07 07 23 5f |.._.....|......#_|
|00000590| cd 97 04 d8 83 b7 c9 7e | e6 7f fe 41 da a3 04 e6 |.......~|...A....|
|000005a0| 5f d6 07 d6 30 fa b0 04 | fe 10 d2 b0 04 b7 c9 c1 |_...0...|........|
|000005b0| 37 c9 7e fe 30 c2 af 04 | 23 05 c2 b2 04 b7 c9 06 |7.~.0...|#.......|
|000005c0| 03 cd b2 04 11 00 00 01 | 10 27 cd e8 04 01 e8 03 |........|.'......|
|000005d0| cd e8 04 01 64 00 cd e8 | 04 01 0a 00 cd e8 04 01 |....d...|........|
|000005e0| 01 00 cd e8 04 eb b7 c9 | 7e fe 3a d2 af 04 d6 30 |........|~.:....0|
|000005f0| fa af 04 eb b7 ca 00 05 | 09 da af 04 3d c3 f5 04 |........|....=...|
|00000600| eb 23 c9 06 00 0e 80 7e | 23 fe 30 ca 19 05 fe 31 |.#.....~|#.0....1|
|00000610| ca 16 05 c3 b0 04 78 b1 | 47 79 fe 01 ca 24 05 0f |......x.|Gy...$..|
|00000620| 4f c3 07 05 68 26 00 b7 | c9 06 07 cd b2 04 7e e6 |O...h&..|......~.|
|00000630| 7f 6f 26 00 b7 c9 c3 39 | 05 06 04 cd 64 05 7c cd |.o&....9|....d.|.|
|00000640| 47 05 7d cd 47 05 c9 f5 | e6 f0 1f 1f 1f 1f cd 58 |G.}.G...|.......X|
|00000650| 05 f1 e6 0f cd 58 05 c9 | c6 30 fe 3a da 2d 06 c6 |.....X..|.0.:.-..|
|00000660| 07 c3 2d 06 3e 20 cd 2d | 06 05 c2 64 05 c9 06 03 |..-.> .-|...d....|
|00000670| cd 64 05 0e 00 7c fe 27 | da 8c 05 c2 84 05 7d fe |.d...|.'|......}.|
|00000680| 10 da 8c 05 0c 11 f0 d8 | 19 c3 75 05 3e 30 81 cd |........|..u.>0..|
|00000690| 2d 06 0e 00 7c fe 03 da | ab 05 c2 a3 05 7d fe e8 |-...|...|.....}..|
|000006a0| da ab 05 0c 11 18 fc 19 | c3 94 05 3e 30 81 cd 2d |........|...>0..-|
|000006b0| 06 0e 00 7c b7 c2 be 05 | 7d fe 64 da c6 05 0c 11 |...|....|}.d.....|
|000006c0| 9c ff 19 c3 b3 05 f5 3e | 30 81 cd 2d 06 f1 0e 00 |.......>|0..-....|
|000006d0| fe 0a da db 05 0c d6 0a | c3 d0 05 f5 3e 30 81 cd |........|....>0..|
|000006e0| 2d 06 f1 c6 30 cd 2d 06 | c9 0e 80 45 cd f8 05 79 |-...0.-.|...E...y|
|000006f0| fe 01 c8 0f 4f c3 ec 05 | 78 a1 3e 30 ca 01 06 3e |....O...|x.>0...>|
|00000700| 31 cd 2d 06 c9 06 07 cd | 64 05 7d e6 7f fe 7f ca |1.-.....|d.}.....|
|00000710| 1c 06 fe 20 d2 2d 06 f6 | 40 c3 1e 06 3e 3f f5 3e |... .-..|@...>?.>|
|00000720| 08 cd 2d 06 3e 5e cd 2d | 06 f1 c3 2d 06 c5 d5 e5 |..-.>^.-|...-....|
|00000730| 0e 02 5f cd 05 00 e1 d1 | c1 c9 af 86 c8 e5 cd 2d |.._.....|.......-|
|00000740| 06 e1 23 c3 3a 06 0e 01 | cd 05 00 e6 7f fe 21 d8 |..#.:...|......!.|
|00000750| f5 3e 08 cd 2d 06 3e 20 | cd 2d 06 f1 c9 00 00 00 |.>..-.> |.-......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 48 00 00 00 00 | 00 00 00 00 00 00 00 00 |...H....|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 47 45 4e 45 52 41 4c 20 | 44 45 53 43 52 49 50 54 |GENERAL |DESCRIPT|
|00000810| 49 4f 4e 0d 0a 45 4e 54 | 45 52 49 4e 47 20 4e 55 |ION..ENT|ERING NU|
|00000820| 4d 42 45 52 53 20 0d 0a | 54 48 45 20 42 41 43 4b |MBERS ..|THE BACK|
|00000830| 53 50 41 43 45 20 4b 45 | 59 0d 0a 44 4f 49 4e 47 |SPACE KE|Y..DOING|
|00000840| 20 41 52 49 54 48 4d 45 | 54 49 43 0d 0a 53 54 41 | ARITHME|TIC..STA|
|00000850| 43 4b 20 4f 50 45 52 41 | 54 49 4f 4e 53 0d 0a 4d |CK OPERA|TIONS..M|
|00000860| 45 4d 4f 52 59 20 4f 50 | 45 52 41 54 49 4f 4e 53 |EMORY OP|ERATIONS|
|00000870| 0d 0a 54 48 45 20 45 53 | 43 41 50 45 20 4b 45 59 |..THE ES|CAPE KEY|
|00000880| 0d 0a 50 52 41 43 54 49 | 43 45 20 45 58 41 4d 50 |..PRACTI|CE EXAMP|
|00000890| 4c 45 53 0d 0a 0d 0a 3a | 20 20 20 20 20 48 50 2e |LES....:| HP.|
|000008a0| 43 4f 4d 20 69 73 20 61 | 20 73 69 6d 70 6c 65 20 |COM is a| simple |
|000008b0| 22 63 61 6c 63 75 6c 61 | 74 6f 72 22 20 66 6f 72 |"calcula|tor" for|
|000008c0| 20 70 72 6f 67 72 61 6d | 6d 65 72 73 2e 20 20 49 | program|mers. I|
|000008d0| 74 20 69 73 20 6d 6f 64 | 65 6c 6c 65 64 0d 0a 61 |t is mod|elled..a|
|000008e0| 66 74 65 72 20 61 20 48 | 65 77 6c 65 74 74 2d 50 |fter a H|ewlett-P|
|000008f0| 61 63 6b 61 72 64 20 77 | 69 74 68 20 52 50 4e 20 |ackard w|ith RPN |
|00000900| 6c 6f 67 69 63 2e 20 20 | 49 74 20 63 61 6e 20 64 |logic. |It can d|
|00000910| 6f 20 61 64 64 69 74 69 | 6f 6e 2c 20 73 75 62 74 |o additi|on, subt|
|00000920| 72 61 63 74 69 6f 6e 2c | 0d 0a 6d 75 6c 74 69 70 |raction,|..multip|
|00000930| 6c 69 63 61 74 69 6f 6e | 2c 20 65 78 70 6f 6e 65 |lication|, expone|
|00000940| 6e 74 69 61 74 69 6f 6e | 2c 20 71 75 6f 74 69 65 |ntiation|, quotie|
|00000950| 6e 74 2c 20 72 65 6d 61 | 69 6e 64 65 72 2c 20 61 |nt, rema|inder, a|
|00000960| 6e 64 20 62 69 74 77 69 | 73 65 20 6c 6f 67 69 63 |nd bitwi|se logic|
|00000970| 61 6c 0d 0a 6f 70 65 72 | 61 74 69 6f 6e 73 2e 20 |al..oper|ations. |
|00000980| 20 49 74 20 68 61 73 20 | 61 6e 20 38 2d 77 6f 72 | It has |an 8-wor|
|00000990| 64 20 73 74 61 63 6b 20 | 61 6e 64 20 33 20 6d 65 |d stack |and 3 me|
|000009a0| 6d 6f 72 69 65 73 2e 20 | 20 42 65 73 74 20 6f 66 |mories. | Best of|
|000009b0| 20 61 6c 6c 2c 20 69 74 | 20 63 61 6e 0d 0a 64 69 | all, it| can..di|
|000009c0| 73 70 6c 61 79 20 69 6e | 20 61 6e 79 20 6f 66 20 |splay in| any of |
|000009d0| 66 6f 75 72 20 6d 6f 64 | 65 73 3a 20 68 65 78 61 |four mod|es: hexa|
|000009e0| 64 65 63 69 6d 61 6c 2c | 20 64 65 63 69 6d 61 6c |decimal,| decimal|
|000009f0| 2c 20 62 69 6e 61 72 79 | 2c 20 61 6e 64 20 63 68 |, binary|, and ch|
|00000a00| 61 72 61 63 74 65 72 2e | 0d 0a 20 20 20 20 20 48 |aracter.|.. H|
|00000a10| 50 20 68 61 73 20 62 65 | 65 6e 20 6b 65 70 74 20 |P has be|en kept |
|00000a20| 72 65 6c 61 74 69 76 65 | 6c 79 20 73 6d 61 6c 6c |relative|ly small|
|00000a30| 20 61 6e 64 20 73 69 6d | 70 6c 65 2c 20 73 69 6e | and sim|ple, sin|
|00000a40| 63 65 20 49 20 77 61 6e | 74 65 64 20 74 6f 0d 0a |ce I wan|ted to..|
|00000a50| 69 6d 70 6c 65 6d 65 6e | 74 20 61 20 52 41 4d 2d |implemen|t a RAM-|
|00000a60| 72 65 73 69 64 65 6e 74 | 20 76 65 72 73 69 6f 6e |resident| version|
|00000a70| 20 6f 66 20 69 74 20 66 | 6f 72 20 75 73 65 20 75 | of it f|or use u|
|00000a80| 6e 64 65 72 20 43 50 2f | 4d 20 50 6c 75 73 2e 20 |nder CP/|M Plus. |
|00000a90| 20 54 68 69 73 0d 0a 76 | 65 72 73 69 6f 6e 2c 20 | This..v|ersion, |
|00000aa0| 77 68 69 63 68 20 63 61 | 6e 20 62 65 20 75 73 65 |which ca|n be use|
|00000ab0| 64 20 65 76 65 6e 20 66 | 72 6f 6d 20 77 69 74 68 |d even f|rom with|
|00000ac0| 69 6e 20 6f 74 68 65 72 | 20 70 72 6f 67 72 61 6d |in other| program|
|00000ad0| 73 2c 20 69 73 20 6e 6f | 77 0d 0a 61 76 61 69 6c |s, is no|w..avail|
|00000ae0| 61 62 6c 65 20 61 73 20 | 48 50 2b 2e 43 4f 4d 2e |able as |HP+.COM.|
|00000af0| 20 20 53 65 65 20 48 50 | 2b 2e 44 4f 43 20 66 6f | See HP|+.DOC fo|
|00000b00| 72 20 64 65 74 61 69 6c | 73 2e 0d 0a 20 20 20 20 |r detail|s... |
|00000b10| 20 41 6c 6c 20 69 6e 74 | 65 72 6e 61 6c 20 73 74 | All int|ernal st|
|00000b20| 6f 72 61 67 65 20 61 6e | 64 20 61 72 69 74 68 6d |orage an|d arithm|
|00000b30| 65 74 69 63 20 69 73 20 | 75 6e 73 69 67 6e 65 64 |etic is |unsigned|
|00000b40| 20 31 36 20 62 69 74 2e | 20 20 54 68 75 73 20 36 | 16 bit.| Thus 6|
|00000b50| 35 35 33 37 0d 0a 62 65 | 63 6f 6d 65 73 20 30 30 |5537..be|comes 00|
|00000b60| 30 30 31 2c 20 2d 31 20 | 62 65 63 6f 6d 65 73 20 |001, -1 |becomes |
|00000b70| 36 35 35 33 35 2c 20 61 | 6e 64 20 73 6f 20 6f 6e |65535, a|nd so on|
|00000b80| 2e 20 20 4d 75 6c 74 69 | 70 6c 69 63 61 74 69 6f |. Multi|plicatio|
|00000b90| 6e 20 6f 76 65 72 66 6c | 6f 77 20 61 6e 64 0d 0a |n overfl|ow and..|
|00000ba0| 64 69 76 69 73 69 6f 6e | 20 62 79 20 30 20 67 65 |division| by 0 ge|
|00000bb0| 6e 65 72 61 74 65 20 65 | 72 72 6f 72 73 2c 20 65 |nerate e|rrors, e|
|00000bc0| 78 63 65 70 74 20 74 68 | 61 74 20 69 6e 20 62 69 |xcept th|at in bi|
|00000bd0| 6e 61 72 79 20 61 6e 64 | 20 63 68 61 72 61 63 74 |nary and| charact|
|00000be0| 65 72 20 6d 6f 64 65 73 | 2c 0d 0a 74 68 65 20 64 |er modes|,..the d|
|00000bf0| 69 73 70 6c 61 79 20 73 | 68 6f 77 73 20 6f 6e 6c |isplay s|hows onl|
|00000c00| 79 20 74 68 65 20 6c 6f | 77 65 73 74 20 38 20 62 |y the lo|west 8 b|
|00000c10| 69 74 73 20 6f 66 20 31 | 36 2c 20 73 6f 20 38 2d |its of 1|6, so 8-|
|00000c20| 62 69 74 20 6f 76 65 72 | 66 6c 6f 77 20 64 6f 65 |bit over|flow doe|
|00000c30| 73 0d 0a 4e 4f 54 20 75 | 73 75 61 6c 6c 79 20 63 |s..NOT u|sually c|
|00000c40| 61 75 73 65 20 61 6e 20 | 65 72 72 6f 72 2e 0d 0a |ause an |error...|
|00000c50| 20 20 20 20 20 57 68 65 | 6e 20 79 6f 75 20 72 75 | Whe|n you ru|
|00000c60| 6e 20 48 50 2c 20 69 74 | 20 77 69 6c 6c 20 64 69 |n HP, it| will di|
|00000c70| 73 70 6c 61 79 20 69 74 | 73 20 73 69 6e 67 6c 65 |splay it|s single|
|00000c80| 20 6f 70 65 72 61 74 69 | 6e 67 20 6c 69 6e 65 3a | operati|ng line:|
|00000c90| 0d 0a 20 20 20 20 20 20 | 20 20 20 41 3e 68 70 0d |.. | A>hp.|
|00000ca0| 0a 20 20 20 20 20 20 20 | 20 20 48 50 20 31 2e 30 |. | HP 1.0|
|00000cb0| 20 2d 20 45 2e 4d 65 79 | 65 72 20 39 2f 38 34 20 | - E.Mey|er 9/84 |
|00000cc0| 20 20 20 20 20 20 20 48 | 3e 20 20 20 20 30 30 30 | H|> 000|
|00000cd0| 30 0d 0a 54 68 65 20 22 | 48 22 20 69 6e 64 69 63 |0..The "|H" indic|
|00000ce0| 61 74 65 73 20 48 65 78 | 20 64 69 73 70 6c 61 79 |ates Hex| display|
|00000cf0| 20 6d 6f 64 65 2c 20 61 | 6e 64 20 74 68 65 20 22 | mode, a|nd the "|
|00000d00| 30 30 30 30 22 20 69 73 | 20 74 68 65 20 63 61 6c |0000" is| the cal|
|00000d10| 63 75 6c 61 74 6f 72 0d | 0a 64 69 73 70 6c 61 79 |culator.|.display|
|00000d20| 2e 20 20 54 68 65 20 73 | 74 61 63 6b 20 61 6e 64 |. The s|tack and|
|00000d30| 20 6d 65 6d 6f 72 79 20 | 61 72 65 20 69 6e 69 74 | memory |are init|
|00000d40| 69 61 6c 69 7a 65 64 20 | 74 6f 20 7a 65 72 6f 2e |ialized |to zero.|
|00000d50| 20 20 54 72 79 20 70 72 | 65 73 73 69 6e 67 20 74 | Try pr|essing t|
|00000d60| 68 65 0d 0a 66 6f 6c 6c | 6f 77 69 6e 67 20 73 65 |he..foll|owing se|
|00000d70| 71 75 65 6e 63 65 20 6f | 66 20 6b 65 79 73 3a 20 |quence o|f keys: |
|00000d80| 22 32 22 2c 20 22 2b 22 | 2c 20 34 2c 20 22 2a 22 |"2", "+"|, 4, "*"|
|00000d90| 2e 20 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 73 65 |. You s|hould se|
|00000da0| 65 20 22 30 30 30 30 38 | 22 2c 0d 0a 77 68 69 63 |e "00008|",..whic|
|00000db0| 68 20 69 73 20 28 30 2b | 32 29 2a 34 2e 20 20 54 |h is (0+|2)*4. T|
|00000dc0| 79 70 65 20 63 6f 6e 74 | 72 6f 6c 2d 43 20 28 5e |ype cont|rol-C (^|
|00000dd0| 43 29 20 74 6f 20 65 78 | 69 74 20 48 50 2e 20 20 |C) to ex|it HP. |
|00000de0| 54 68 69 73 20 73 68 6f | 75 6c 64 20 67 69 76 65 |This sho|uld give|
|00000df0| 20 79 6f 75 0d 0a 74 68 | 65 20 69 64 65 61 3b 20 | you..th|e idea; |
|00000e00| 6e 6f 77 20 72 65 61 64 | 20 6f 6e 2e 20 20 49 66 |now read| on. If|
|00000e10| 20 79 6f 75 20 68 61 76 | 65 20 6e 65 76 65 72 20 | you hav|e never |
|00000e20| 75 73 65 64 20 61 6e 20 | 52 50 4e 20 63 61 6c 63 |used an |RPN calc|
|00000e30| 75 6c 61 74 6f 72 2c 20 | 79 6f 75 27 64 0d 0a 62 |ulator, |you'd..b|
|00000e40| 65 74 74 65 72 20 6c 65 | 61 72 6e 20 74 6f 20 66 |etter le|arn to f|
|00000e50| 69 72 73 74 2e 0d 0a 20 | 3a 20 20 20 20 45 4e 54 |irst... |: ENT|
|00000e60| 45 52 49 4e 47 20 4e 55 | 4d 42 45 52 53 3a 20 20 |ERING NU|MBERS: |
|00000e70| 59 6f 75 72 20 22 65 6e | 74 65 72 22 20 28 6f 72 |Your "en|ter" (or|
|00000e80| 20 22 72 65 74 75 72 6e | 22 29 20 6b 65 79 2c 20 | "return|") key, |
|00000e90| 77 68 69 63 68 20 49 20 | 77 69 6c 6c 0d 0a 68 65 |which I |will..he|
|00000ea0| 6e 63 65 66 6f 72 74 68 | 20 63 61 6c 6c 20 22 3c |nceforth| call "<|
|00000eb0| 45 3e 22 2c 20 63 6f 72 | 72 65 73 70 6f 6e 64 73 |E>", cor|responds|
|00000ec0| 20 74 6f 20 74 68 65 20 | 52 50 4e 20 22 65 6e 74 | to the |RPN "ent|
|00000ed0| 65 72 22 20 6b 65 79 2e | 20 20 49 74 20 69 73 20 |er" key.| It is |
|00000ee0| 75 73 65 64 0d 0a 74 6f | 20 73 65 70 61 72 61 74 |used..to| separat|
|00000ef0| 65 20 74 77 6f 20 6e 75 | 6d 62 65 72 73 20 65 6e |e two nu|mbers en|
|00000f00| 74 65 72 65 64 20 69 6e | 20 61 20 72 6f 77 20 28 |tered in| a row (|
|00000f10| 6f 72 20 74 6f 20 69 6e | 74 65 6e 74 69 6f 6e 61 |or to in|tentiona|
|00000f20| 6c 6c 79 20 64 75 70 6c | 69 63 61 74 65 0d 0a 74 |lly dupl|icate..t|
|00000f30| 68 65 20 6e 75 6d 62 65 | 72 20 69 6e 20 74 68 65 |he numbe|r in the|
|00000f40| 20 64 69 73 70 6c 61 79 | 20 72 65 67 69 73 74 65 | display| registe|
|00000f50| 72 20 6f 6e 20 74 68 65 | 20 73 74 61 63 6b 29 2e |r on the| stack).|
|00000f60| 20 20 54 79 70 69 63 61 | 6c 6c 79 20 79 6f 75 20 | Typica|lly you |
|00000f70| 65 6e 74 65 72 20 61 0d | 0a 73 74 72 69 6e 67 20 |enter a.|.string |
|00000f80| 6f 66 20 64 69 67 69 74 | 73 2c 20 74 68 65 6e 20 |of digit|s, then |
|00000f90| 68 69 74 20 3c 45 3e 20 | 74 6f 20 70 75 74 20 74 |hit <E> |to put t|
|00000fa0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 6e 20 74 68 65 |he numbe|r on the|
|00000fb0| 20 73 74 61 63 6b 2e 20 | 20 59 6f 75 20 64 6f 0d | stack. | You do.|
|00000fc0| 0a 4e 4f 54 20 68 69 74 | 20 3c 45 3e 20 61 66 74 |.NOT hit| <E> aft|
|00000fd0| 65 72 20 65 76 65 72 79 | 20 6e 75 6d 62 65 72 20 |er every| number |
|00000fe0| 65 6e 74 72 79 2c 20 61 | 73 20 74 68 65 20 6f 74 |entry, a|s the ot|
|00000ff0| 68 65 72 20 66 75 6e 63 | 74 69 6f 6e 20 6b 65 79 |her func|tion key|
|00001000| 73 20 28 22 2b 22 2c 0d | 0a 65 74 63 29 20 61 75 |s ("+",.|.etc) au|
|00001010| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 74 65 72 6d |tomatica|lly term|
|00001020| 69 6e 61 74 65 20 64 69 | 67 69 74 20 65 6e 74 72 |inate di|git entr|
|00001030| 79 20 61 6c 73 6f 2e 0d | 0a 20 20 20 20 20 41 20 |y also..|. A |
|00001040| 6d 61 78 69 6d 75 6d 20 | 6f 66 20 38 20 64 69 67 |maximum |of 8 dig|
|00001050| 69 74 73 20 63 61 6e 20 | 62 65 20 65 6e 74 65 72 |its can |be enter|
|00001060| 65 64 2c 20 61 66 74 65 | 72 20 77 68 69 63 68 20 |ed, afte|r which |
|00001070| 74 68 65 20 6c 65 61 64 | 69 6e 67 20 64 69 67 69 |the lead|ing digi|
|00001080| 74 73 0d 0a 77 69 6c 6c | 20 62 65 67 69 6e 20 74 |ts..will| begin t|
|00001090| 6f 20 62 65 20 64 69 73 | 63 61 72 64 65 64 2e 20 |o be dis|carded. |
|000010a0| 20 4f 6e 20 68 69 74 74 | 69 6e 67 20 3c 45 3e 20 | On hitt|ing <E> |
|000010b0| 28 6f 72 20 61 6e 6f 74 | 68 65 72 20 66 75 6e 63 |(or anot|her func|
|000010c0| 74 69 6f 6e 20 6b 65 79 | 29 2c 0d 0a 74 68 65 20 |tion key|),..the |
|000010d0| 62 65 6c 6c 20 77 69 6c | 6c 20 72 69 6e 67 20 69 |bell wil|l ring i|
|000010e0| 66 20 74 68 65 20 73 74 | 72 69 6e 67 20 65 6e 74 |f the st|ring ent|
|000010f0| 65 72 65 64 20 69 73 20 | 6e 6f 74 20 61 63 63 65 |ered is |not acce|
|00001100| 70 74 61 62 6c 65 20 69 | 6e 20 74 68 65 20 63 75 |ptable i|n the cu|
|00001110| 72 72 65 6e 74 0d 0a 64 | 69 73 70 6c 61 79 20 6d |rrent..d|isplay m|
|00001120| 6f 64 65 2e 20 20 59 6f | 75 20 6d 75 73 74 20 74 |ode. Yo|u must t|
|00001130| 68 65 6e 20 63 6f 72 72 | 65 63 74 20 74 68 65 20 |hen corr|ect the |
|00001140| 73 74 72 69 6e 67 20 61 | 6e 64 20 74 72 79 20 61 |string a|nd try a|
|00001150| 67 61 69 6e 2e 0d 0a 3a | 20 20 20 20 20 54 48 45 |gain...:| THE|
|00001160| 20 42 41 43 4b 53 50 41 | 43 45 20 4b 45 59 3a 20 | BACKSPA|CE KEY: |
|00001170| 20 59 6f 75 72 20 62 61 | 63 6b 73 70 61 63 65 20 | Your ba|ckspace |
|00001180| 6b 65 79 20 28 5e 48 29 | 20 77 6f 72 6b 73 20 6c |key (^H)| works l|
|00001190| 69 6b 65 20 74 68 65 20 | 22 3c 2d 22 20 6b 65 79 |ike the |"<-" key|
|000011a0| 0d 0a 6f 6e 20 61 6e 20 | 48 50 2d 34 31 43 3b 20 |..on an |HP-41C; |
|000011b0| 69 74 20 68 61 73 20 74 | 77 6f 20 66 75 6e 63 74 |it has t|wo funct|
|000011c0| 69 6f 6e 73 2e 20 20 44 | 75 72 69 6e 67 20 64 69 |ions. D|uring di|
|000011d0| 67 69 74 20 65 6e 74 72 | 79 2c 20 69 74 20 64 65 |git entr|y, it de|
|000011e0| 6c 65 74 65 73 20 74 68 | 65 0d 0a 6c 61 73 74 20 |letes th|e..last |
|000011f0| 64 69 67 69 74 20 74 79 | 70 65 64 2e 20 20 4f 74 |digit ty|ped. Ot|
|00001200| 68 65 72 77 69 73 65 2c | 20 69 74 20 7a 65 72 6f |herwise,| it zero|
|00001210| 73 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 69 |s the cu|rrent di|
|00001220| 73 70 6c 61 79 20 28 58 | 29 20 72 65 67 69 73 74 |splay (X|) regist|
|00001230| 65 72 2c 0d 0a 61 6e 64 | 20 6c 65 61 76 65 73 20 |er,..and| leaves |
|00001240| 74 68 65 20 73 74 61 63 | 6b 20 6c 69 66 74 20 64 |the stac|k lift d|
|00001250| 69 73 61 62 6c 65 64 2e | 0d 0a 3a 20 20 20 20 20 |isabled.|..: |
|00001260| 44 4f 49 4e 47 20 41 52 | 49 54 48 4d 45 54 49 43 |DOING AR|ITHMETIC|
|00001270| 3a 20 20 54 68 65 20 6f | 70 65 72 61 74 69 6f 6e |: The o|peration|
|00001280| 73 20 61 76 61 69 6c 61 | 62 6c 65 2c 20 61 6e 64 |s availa|ble, and|
|00001290| 20 74 68 65 20 6b 65 79 | 73 20 74 6f 20 69 6e 76 | the key|s to inv|
|000012a0| 6f 6b 65 0d 0a 74 68 65 | 6d 20 61 72 65 3a 20 22 |oke..the|m are: "|
|000012b0| 2b 22 20 28 61 64 64 69 | 74 69 6f 6e 2c 20 59 2b |+" (addi|tion, Y+|
|000012c0| 58 29 2c 20 22 2d 22 20 | 28 73 75 62 74 72 61 63 |X), "-" |(subtrac|
|000012d0| 74 69 6f 6e 2c 20 59 2d | 58 29 2c 20 22 2a 22 20 |tion, Y-|X), "*" |
|000012e0| 28 6d 75 6c 74 69 70 6c | 69 63 61 74 69 6f 6e 2c |(multipl|ication,|
|000012f0| 0d 0a 59 2a 58 29 2c 20 | 22 5e 22 20 28 65 78 70 |..Y*X), |"^" (exp|
|00001300| 6f 6e 65 6e 74 69 61 74 | 69 6f 6e 2c 20 59 5e 58 |onentiat|ion, Y^X|
|00001310| 29 2c 20 22 2f 22 20 28 | 69 6e 74 65 67 65 72 20 |), "/" (|integer |
|00001320| 71 75 6f 74 69 65 6e 74 | 2c 20 49 4e 54 28 59 2f |quotient|, INT(Y/|
|00001330| 58 29 29 2c 20 22 25 22 | 0d 0a 28 72 65 6d 61 69 |X)), "%"|..(remai|
|00001340| 6e 64 65 72 2c 20 58 2a | 28 59 2f 58 2d 49 4e 54 |nder, X*|(Y/X-INT|
|00001350| 28 59 2f 58 29 29 29 2c | 20 22 26 22 20 28 62 69 |(Y/X))),| "&" (bi|
|00001360| 74 77 69 73 65 20 61 6e | 64 2c 20 58 26 59 29 2c |twise an|d, X&Y),|
|00001370| 20 22 7c 22 20 28 62 69 | 74 77 69 73 65 20 6f 72 | "|" (bi|twise or|
|00001380| 2c 0d 0a 58 7c 59 29 2c | 20 61 6e 64 20 22 7e 22 |,..X|Y),| and "~"|
|00001390| 20 28 6e 65 67 61 74 69 | 6f 6e 20 5b 32 27 73 20 | (negati|on [2's |
|000013a0| 63 6f 6d 70 6c 65 6d 65 | 6e 74 5d 2c 20 7e 58 29 |compleme|nt], ~X)|
|000013b0| 2e 20 20 4e 65 67 61 74 | 69 6f 6e 20 61 66 66 65 |. Negat|ion affe|
|000013c0| 63 74 73 20 6f 6e 6c 79 | 20 74 68 65 0d 0a 58 20 |cts only| the..X |
|000013d0| 72 65 67 69 73 74 65 72 | 3b 20 74 68 65 20 6f 74 |register|; the ot|
|000013e0| 68 65 72 20 6f 70 65 72 | 61 74 69 6f 6e 73 20 75 |her oper|ations u|
|000013f0| 73 65 20 74 68 65 20 76 | 61 6c 75 65 73 20 69 6e |se the v|alues in|
|00001400| 20 74 68 65 20 66 69 72 | 73 74 20 74 77 6f 20 73 | the fir|st two s|
|00001410| 74 61 63 6b 0d 0a 72 65 | 67 69 73 74 65 72 73 20 |tack..re|gisters |
|00001420| 28 58 20 61 6e 64 20 59 | 29 2c 20 61 6e 64 20 72 |(X and Y|), and r|
|00001430| 65 74 75 72 6e 20 74 68 | 65 20 72 65 73 75 6c 74 |eturn th|e result|
|00001440| 20 69 6e 20 74 68 65 20 | 64 69 73 70 6c 61 79 20 | in the |display |
|00001450| 28 58 29 2c 20 64 72 6f | 70 70 69 6e 67 0d 0a 74 |(X), dro|pping..t|
|00001460| 68 65 20 73 74 61 63 6b | 2e 0d 8a 20 20 20 20 20 |he stack|... |
|00001470| 54 68 65 20 62 65 6c 6c | 20 77 69 6c 6c 20 72 69 |The bell| will ri|
|00001480| 6e 67 20 69 66 20 61 6e | 20 75 6e 64 65 66 69 6e |ng if an| undefin|
|00001490| 65 64 20 6b 65 79 20 69 | 73 20 70 72 65 73 73 65 |ed key i|s presse|
|000014a0| 64 20 61 73 20 61 6e 20 | 6f 70 65 72 61 74 6f 72 |d as an |operator|
|000014b0| 2e 0d 0a 49 74 20 77 69 | 6c 6c 20 61 6c 73 6f 20 |...It wi|ll also |
|000014c0| 72 69 6e 67 2c 20 61 6e | 64 20 6d 75 6c 74 69 70 |ring, an|d multip|
|000014d0| 6c 69 63 61 74 69 6f 6e | 20 22 2a 22 20 28 61 6c |lication| "*" (al|
|000014e0| 73 6f 20 22 5e 22 29 20 | 77 69 6c 6c 20 72 65 66 |so "^") |will ref|
|000014f0| 75 73 65 20 74 6f 0d 0a | 63 6f 6d 70 6c 65 74 65 |use to..|complete|
|00001500| 2c 20 69 66 20 31 36 2d | 62 69 74 20 6f 76 65 72 |, if 16-|bit over|
|00001510| 66 6c 6f 77 20 6f 63 63 | 75 72 73 2e 20 20 54 68 |flow occ|urs. Th|
|00001520| 65 20 73 61 6d 65 20 74 | 68 69 6e 67 20 68 61 70 |e same t|hing hap|
|00001530| 70 65 6e 73 20 77 69 74 | 68 20 22 2f 22 0d 0a 61 |pens wit|h "/"..a|
|00001540| 6e 64 20 22 25 22 20 69 | 66 20 64 69 76 69 73 69 |nd "%" i|f divisi|
|00001550| 6f 6e 20 62 79 20 30 20 | 69 73 20 61 74 74 65 6d |on by 0 |is attem|
|00001560| 70 74 65 64 2e 20 20 54 | 68 65 20 73 74 61 63 6b |pted. T|he stack|
|00001570| 20 69 73 20 6c 65 66 74 | 20 75 6e 63 68 61 6e 67 | is left| unchang|
|00001580| 65 64 2e 0d 0a 44 65 6c | 65 74 65 20 74 68 65 20 |ed...Del|ete the |
|00001590| 6f 66 66 65 6e 64 69 6e | 67 20 6f 70 65 72 61 6e |offendin|g operan|
|000015a0| 64 20 61 6e 64 20 74 72 | 79 20 61 67 61 69 6e 2c |d and tr|y again,|
|000015b0| 20 69 66 20 79 6f 75 20 | 77 69 73 68 2e 0d 0a 3a | if you |wish...:|
|000015c0| 20 20 20 20 20 53 54 41 | 43 4b 20 4f 50 45 52 41 | STA|CK OPERA|
|000015d0| 54 49 4f 4e 53 3a 20 20 | 59 6f 75 20 63 61 6e 20 |TIONS: |You can |
|000015e0| 63 6c 65 61 72 20 74 68 | 65 20 73 74 61 63 6b 20 |clear th|e stack |
|000015f0| 77 69 74 68 20 63 6f 6e | 74 72 6f 6c 2d 58 20 28 |with con|trol-X (|
|00001600| 5e 58 29 20 61 74 0d 0a | 61 6e 79 20 74 69 6d 65 |^X) at..|any time|
|00001610| 2e 20 20 28 4d 65 6d 6f | 72 79 20 72 65 67 69 73 |. (Memo|ry regis|
|00001620| 74 65 72 73 20 61 72 65 | 20 6e 6f 74 20 61 66 66 |ters are| not aff|
|00001630| 65 63 74 65 64 20 62 79 | 20 5e 58 2e 29 20 20 41 |ected by| ^X.) A|
|00001640| 6c 73 6f 2c 20 79 6f 75 | 20 63 61 6e 0d 0a 65 78 |lso, you| can..ex|
|00001650| 63 68 61 6e 67 65 20 74 | 68 65 20 63 6f 6e 74 65 |change t|he conte|
|00001660| 6e 74 73 20 6f 66 20 74 | 68 65 20 74 77 6f 20 6c |nts of t|he two l|
|00001670| 6f 77 65 73 74 20 72 65 | 67 69 73 74 65 72 73 20 |owest re|gisters |
|00001680| 28 58 3c 3e 59 29 20 77 | 69 74 68 20 74 68 65 20 |(X<>Y) w|ith the |
|00001690| 22 3d 22 0d 0a 65 78 63 | 68 61 6e 67 65 20 66 75 |"="..exc|hange fu|
|000016a0| 6e 63 74 69 6f 6e 2e 20 | 20 48 50 2e 43 4f 4d 20 |nction. | HP.COM |
|000016b0| 64 6f 65 73 20 6e 6f 74 | 20 68 61 76 65 20 73 74 |does not| have st|
|000016c0| 61 63 6b 20 72 6f 6c 6c | 20 66 75 6e 63 74 69 6f |ack roll| functio|
|000016d0| 6e 73 2e 0d 0a 3a 20 20 | 20 20 20 4d 45 4d 4f 52 |ns...: | MEMOR|
|000016e0| 59 20 4f 50 45 52 41 54 | 49 4f 4e 53 3a 20 20 54 |Y OPERAT|IONS: T|
|000016f0| 68 65 72 65 20 61 72 65 | 20 74 68 72 65 65 20 6d |here are| three m|
|00001700| 65 6d 6f 72 79 20 72 65 | 67 69 73 74 65 72 73 20 |emory re|gisters |
|00001710| 28 31 2d 33 29 2c 20 61 | 63 63 65 73 73 65 64 20 |(1-3), a|ccessed |
|00001720| 0d 0a 77 69 74 68 20 74 | 68 65 20 63 6f 6d 6d 61 |..with t|he comma|
|00001730| 6e 64 73 20 22 53 22 20 | 28 6f 72 20 22 73 22 29 |nds "S" |(or "s")|
|00001740| 20 66 6f 72 20 53 74 6f | 72 65 2c 20 61 6e 64 20 | for Sto|re, and |
|00001750| 22 52 22 20 28 6f 72 20 | 22 72 22 29 20 66 6f 72 |"R" (or |"r") for|
|00001760| 20 52 65 63 61 6c 6c 2e | 0d 0a 54 6f 20 73 74 6f | Recall.|..To sto|
|00001770| 72 65 20 74 68 65 20 6e | 75 6d 62 65 72 20 69 6e |re the n|umber in|
|00001780| 20 74 68 65 20 64 69 73 | 70 6c 61 79 20 69 6e 20 | the dis|play in |
|00001790| 72 65 67 69 73 74 65 72 | 20 32 2c 20 66 6f 72 20 |register| 2, for |
|000017a0| 65 78 61 6d 70 6c 65 2c | 20 74 79 70 65 0d 0a 22 |example,| type.."|
|000017b0| 53 32 22 2e 20 20 54 6f | 20 72 65 63 61 6c 6c 20 |S2". To| recall |
|000017c0| 72 65 67 69 73 74 65 72 | 20 31 20 74 6f 20 74 68 |register| 1 to th|
|000017d0| 65 20 73 74 61 63 6b 20 | 64 69 73 70 6c 61 79 2c |e stack |display,|
|000017e0| 20 74 79 70 65 20 22 52 | 31 22 2e 0d 0a 20 3a 20 | type "R|1"... : |
|000017f0| 20 20 20 54 48 45 20 45 | 53 43 41 50 45 20 4b 45 | THE E|SCAPE KE|
|00001800| 59 3a 20 20 59 6f 75 72 | 20 65 73 63 61 70 65 20 |Y: Your| escape |
|00001810| 6b 65 79 20 28 45 53 43 | 2c 20 6f 72 20 5e 5b 29 |key (ESC|, or ^[)|
|00001820| 20 68 61 73 20 74 77 6f | 20 66 75 6e 63 74 69 6f | has two| functio|
|00001830| 6e 73 2e 0d 0a 46 69 72 | 73 74 2c 20 69 74 20 61 |ns...Fir|st, it a|
|00001840| 6c 6c 6f 77 73 20 63 68 | 61 6e 67 69 6e 67 20 74 |llows ch|anging t|
|00001850| 68 65 20 64 69 73 70 6c | 61 79 20 6d 6f 64 65 2e |he displ|ay mode.|
|00001860| 20 20 59 6f 75 20 63 61 | 6e 20 74 79 70 65 20 45 | You ca|n type E|
|00001870| 53 43 20 48 2c 20 45 53 | 43 20 44 2c 0d 0a 45 53 |SC H, ES|C D,..ES|
|00001880| 43 20 42 2c 20 6f 72 20 | 45 53 43 20 43 2c 20 61 |C B, or |ESC C, a|
|00001890| 6e 64 20 74 68 65 20 64 | 69 73 70 6c 61 79 20 6d |nd the d|isplay m|
|000018a0| 6f 64 65 20 77 69 6c 6c | 20 63 68 61 6e 67 65 20 |ode will| change |
|000018b0| 61 63 63 6f 72 64 69 6e | 67 6c 79 20 74 6f 20 48 |accordin|gly to H|
|000018c0| 65 78 2c 0d 0a 44 65 63 | 69 6d 61 6c 2c 20 42 69 |ex,..Dec|imal, Bi|
|000018d0| 6e 61 72 79 2c 20 6f 72 | 20 43 68 61 72 61 63 74 |nary, or| Charact|
|000018e0| 65 72 2e 20 20 49 6e 20 | 68 65 78 20 6d 6f 64 65 |er. In |hex mode|
|000018f0| 2c 20 6e 75 6d 62 65 72 | 73 20 64 69 73 70 6c 61 |, number|s displa|
|00001900| 79 20 61 73 20 66 6f 75 | 72 20 68 65 78 0d 0a 64 |y as fou|r hex..d|
|00001910| 69 67 69 74 73 20 66 72 | 6f 6d 20 30 30 30 30 2d |igits fr|om 0000-|
|00001920| 46 46 46 46 2e 20 20 49 | 6e 20 64 65 63 69 6d 61 |FFFF. I|n decima|
|00001930| 6c 20 6d 6f 64 65 2c 20 | 79 6f 75 20 67 65 74 20 |l mode, |you get |
|00001940| 66 69 76 65 20 64 65 63 | 69 6d 61 6c 20 64 69 67 |five dec|imal dig|
|00001950| 69 74 73 0d 0a 66 72 6f | 6d 20 30 30 30 30 30 2d |its..fro|m 00000-|
|00001960| 36 35 35 33 35 2e 20 20 | 49 6e 20 62 69 6e 61 72 |65535. |In binar|
|00001970| 79 20 6d 6f 64 65 2c 20 | 74 68 65 20 6c 65 61 73 |y mode, |the leas|
|00001980| 74 20 73 69 67 6e 69 66 | 69 63 61 6e 74 20 62 79 |t signif|icant by|
|00001990| 74 65 20 6f 66 20 74 68 | 65 0d 0a 6e 75 6d 62 65 |te of th|e..numbe|
|000019a0| 72 20 64 69 73 70 6c 61 | 79 73 20 61 73 20 38 20 |r displa|ys as 8 |
|000019b0| 62 69 6e 61 72 79 20 64 | 69 67 69 74 73 2c 20 30 |binary d|igits, 0|
|000019c0| 30 30 30 30 30 30 30 2d | 31 31 31 31 31 31 31 31 |0000000-|11111111|
|000019d0| 2e 20 20 49 6e 20 63 68 | 61 72 61 63 74 65 72 0d |. In ch|aracter.|
|000019e0| 0a 6d 6f 64 65 2c 20 74 | 68 65 20 6c 65 61 73 74 |.mode, t|he least|
|000019f0| 20 73 69 67 6e 69 66 69 | 63 61 6e 74 20 37 20 62 | signifi|cant 7 b|
|00001a00| 69 74 73 20 6f 66 20 74 | 68 65 20 6e 75 6d 62 65 |its of t|he numbe|
|00001a10| 72 20 64 69 73 70 6c 61 | 79 20 61 73 20 61 6e 20 |r displa|y as an |
|00001a20| 41 53 43 49 49 0d 0a 63 | 68 61 72 61 63 74 65 72 |ASCII..c|haracter|
|00001a30| 2c 20 69 66 20 70 72 69 | 6e 74 61 62 6c 65 2c 20 |, if pri|ntable, |
|00001a40| 6f 72 20 61 73 20 61 20 | 22 5e 22 20 63 6f 64 65 |or as a |"^" code|
|00001a50| 20 6f 74 68 65 72 77 69 | 73 65 2e 20 20 28 4e 6f | otherwi|se. (No|
|00001a60| 74 65 3a 20 63 6f 64 65 | 20 37 46 2c 0d 0a 44 45 |te: code| 7F,..DE|
|00001a70| 4c 2c 20 77 69 6c 6c 20 | 64 69 73 70 6c 61 79 20 |L, will |display |
|00001a80| 61 73 20 22 5e 3f 22 2e | 29 0d 0a 20 20 20 20 20 |as "^?".|).. |
|00001a90| 53 65 63 6f 6e 64 2c 20 | 74 68 65 20 45 53 43 20 |Second, |the ESC |
|00001aa0| 6b 65 79 20 61 6c 6c 6f | 77 73 20 79 6f 75 20 74 |key allo|ws you t|
|00001ab0| 6f 20 65 6e 74 65 72 20 | 61 73 20 61 20 64 69 67 |o enter |as a dig|
|00001ac0| 69 74 20 74 68 6f 73 65 | 20 63 68 61 72 61 63 74 |it those| charact|
|00001ad0| 65 72 73 0d 0a 74 68 61 | 74 20 77 6f 75 6c 64 20 |ers..tha|t would |
|00001ae0| 6f 74 68 65 72 77 69 73 | 65 20 62 65 20 63 61 6c |otherwis|e be cal|
|00001af0| 63 75 6c 61 74 6f 72 20 | 66 75 6e 63 74 69 6f 6e |culator |function|
|00001b00| 73 2c 20 6e 61 6d 65 6c | 79 20 22 2b 2d 2a 5e 2f |s, namel|y "+-*^/|
|00001b10| 25 26 7c 7e 3d 73 53 72 | 52 22 2e 0d 0a 46 6f 72 |%&|~=sSr|R"...For|
|00001b20| 20 65 78 61 6d 70 6c 65 | 20 74 6f 20 65 6e 74 65 | example| to ente|
|00001b30| 72 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |r the ch|aracter |
|00001b40| 22 73 22 2c 20 75 73 65 | 20 45 53 43 20 73 2c 20 |"s", use| ESC s, |
|00001b50| 6e 6f 74 20 6a 75 73 74 | 20 22 73 22 20 28 6f 72 |not just| "s" (or|
|00001b60| 20 79 6f 75 0d 0a 77 69 | 6c 6c 20 69 6e 69 74 69 | you..wi|ll initi|
|00001b70| 61 74 65 20 61 20 73 74 | 6f 72 65 20 74 6f 20 6d |ate a st|ore to m|
|00001b80| 65 6d 6f 72 79 29 2e 20 | 20 4e 6f 74 65 20 74 68 |emory). | Note th|
|00001b90| 61 74 20 63 6f 6e 74 72 | 6f 6c 20 63 6f 64 65 73 |at contr|ol codes|
|00001ba0| 20 28 61 6e 64 20 74 68 | 65 20 73 70 61 63 65 2c | (and th|e space,|
|00001bb0| 0d 0a 32 30 48 29 20 63 | 61 6e 6e 6f 74 20 62 65 |..20H) c|annot be|
|00001bc0| 20 65 6e 74 65 72 65 64 | 20 61 73 20 64 61 74 61 | entered| as data|
|00001bd0| 20 69 6e 20 63 68 61 72 | 61 63 74 65 72 20 6d 6f | in char|acter mo|
|00001be0| 64 65 2e 0d 0a 3a 20 20 | 20 20 20 20 20 20 20 20 |de...: | |
|00001bf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c00| 20 20 20 20 45 58 41 4d | 50 4c 45 53 0d 0a 20 20 | EXAM|PLES.. |
|00001c10| 20 20 20 4e 6f 77 20 69 | 74 27 73 20 74 69 6d 65 | Now i|t's time|
|00001c20| 20 66 6f 72 20 73 6f 6d | 65 20 6d 6f 72 65 20 70 | for som|e more p|
|00001c30| 72 61 63 74 69 63 65 2e | 20 20 54 72 79 20 74 68 |ractice.| Try th|
|00001c40| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 73 61 6d 70 |e follow|ing samp|
|00001c50| 6c 65 0d 0a 63 61 6c 63 | 75 6c 61 74 69 6f 6e 73 |le..calc|ulations|
|00001c60| 2e 20 20 50 72 65 73 73 | 20 74 68 65 20 6b 65 79 |. Press| the key|
|00001c70| 73 20 73 68 6f 77 6e 2c | 20 61 6e 64 20 73 65 65 |s shown,| and see|
|00001c80| 20 77 68 65 74 68 65 72 | 20 74 68 65 20 61 6e 73 | whether| the ans|
|00001c90| 77 65 72 20 79 6f 75 20 | 67 65 74 0d 0a 69 73 20 |wer you |get..is |
|00001ca0| 63 6f 72 72 65 63 74 2e | 20 20 49 6e 20 74 68 65 |correct.| In the|
|00001cb0| 20 70 72 6f 62 6c 65 6d | 73 2c 20 74 68 65 20 22 | problem|s, the "|
|00001cc0| 68 22 20 73 75 66 66 69 | 78 20 69 6e 64 69 63 61 |h" suffi|x indica|
|00001cd0| 74 65 73 20 61 20 68 65 | 78 20 6e 75 6d 62 65 72 |tes a he|x number|
|00001ce0| 2e 0d 0a 28 31 29 20 20 | 57 68 61 74 20 69 73 20 |...(1) |What is |
|00001cf0| 28 31 32 32 2b 33 31 29 | 2a 38 20 3f 0d 0a 20 20 |(122+31)|*8 ?.. |
|00001d00| 20 20 20 50 52 45 53 53 | 3a 20 20 5e 58 20 20 45 | PRESS|: ^X E|
|00001d10| 53 43 20 44 20 20 31 20 | 32 20 32 20 3c 45 3e 20 |SC D 1 |2 2 <E> |
|00001d20| 33 20 31 20 2b 20 38 20 | 2a 0d 0a 20 20 20 20 20 |3 1 + 8 |*.. |
|00001d30| 41 4e 53 57 45 52 3a 20 | 44 3e 20 20 20 20 30 31 |ANSWER: |D> 01|
|00001d40| 32 32 34 0d 0a 28 32 29 | 20 20 48 6f 77 20 6d 61 |224..(2)| How ma|
|00001d50| 6e 79 20 31 32 38 2d 62 | 79 74 65 20 72 65 63 6f |ny 128-b|yte reco|
|00001d60| 72 64 73 20 61 72 65 20 | 62 65 74 77 65 65 6e 20 |rds are |between |
|00001d70| 61 64 64 72 65 73 73 65 | 73 20 44 30 30 30 68 20 |addresse|s D000h |
|00001d80| 61 6e 64 20 45 31 30 30 | 68 3f 0d 0a 20 20 20 20 |and E100|h?.. |
|00001d90| 20 50 52 45 53 53 3a 20 | 20 5e 58 20 20 45 53 43 | PRESS: | ^X ESC|
|00001da0| 20 48 20 20 45 20 31 20 | 30 20 30 20 3c 45 3e 20 | H E 1 |0 0 <E> |
|00001db0| 44 20 30 20 30 20 30 20 | 2d 20 20 45 53 43 20 44 |D 0 0 0 |- ESC D|
|00001dc0| 20 20 31 20 32 20 38 20 | 2f 0d 0a 20 20 20 20 20 | 1 2 8 |/.. |
|00001dd0| 41 4e 53 57 45 52 3a 20 | 44 3e 20 20 20 20 30 30 |ANSWER: |D> 00|
|00001de0| 30 33 34 0d 0a 28 33 29 | 20 20 57 68 61 74 20 63 |034..(3)| What c|
|00001df0| 68 61 72 61 63 74 65 72 | 20 72 65 73 75 6c 74 73 |haracter| results|
|00001e00| 20 66 72 6f 6d 20 4d 56 | 49 20 41 2c 27 77 27 20 | from MV|I A,'w' |
|00001e10| 41 4e 49 20 35 46 48 20 | 28 74 68 61 74 20 69 73 |ANI 5FH |(that is|
|00001e20| 2c 20 22 77 22 26 35 46 | 68 29 20 3f 0d 0a 20 20 |, "w"&5F|h) ?.. |
|00001e30| 20 20 20 50 52 45 53 53 | 3a 20 20 5e 58 20 20 45 | PRESS|: ^X E|
|00001e40| 53 43 20 43 20 20 77 20 | 20 45 53 43 20 48 20 20 |SC C w | ESC H |
|00001e50| 35 20 46 20 26 20 20 45 | 53 43 20 43 0d 0a 20 20 |5 F & E|SC C.. |
|00001e60| 20 20 20 41 4e 53 57 45 | 52 3a 20 43 3e 20 20 20 | ANSWE|R: C> |
|00001e70| 20 20 20 20 20 57 0d 0a | 28 34 29 20 20 57 68 61 | W..|(4) Wha|
|00001e80| 74 20 64 6f 65 73 20 2d | 31 31 35 20 6c 6f 6f 6b |t does -|115 look|
|00001e90| 20 6c 69 6b 65 20 69 6e | 20 62 69 6e 61 72 79 3f | like in| binary?|
|00001ea0| 0d 0a 20 20 20 20 20 50 | 52 45 53 53 3a 20 20 5e |.. P|RESS: ^|
|00001eb0| 58 20 20 45 53 43 20 44 | 20 20 31 20 31 20 35 20 |X ESC D| 1 1 5 |
|00001ec0| 7e 20 20 45 53 43 20 42 | 0d 0a 20 20 20 20 20 41 |~ ESC B|.. A|
|00001ed0| 4e 53 57 45 52 3a 20 42 | 3e 20 31 30 30 30 31 31 |NSWER: B|> 100011|
|00001ee0| 30 31 0d 0a 28 35 29 20 | 20 57 68 61 74 20 69 73 |01..(5) | What is|
|00001ef0| 20 35 20 74 6f 20 74 68 | 65 20 34 74 68 20 70 6f | 5 to th|e 4th po|
|00001f00| 77 65 72 3f 0d 0a 20 20 | 20 20 20 50 52 45 53 53 |wer?.. | PRESS|
|00001f10| 3a 20 20 5e 58 20 20 45 | 53 43 20 44 20 20 35 20 |: ^X E|SC D 5 |
|00001f20| 3c 45 3e 20 34 20 5e 0d | 0a 20 20 20 20 20 41 4e |<E> 4 ^.|. AN|
|00001f30| 53 57 45 52 3a 20 44 3e | 20 20 20 20 30 30 36 32 |SWER: D>| 0062|
|00001f40| 35 0d 0a 20 0d 58 41 20 | 31 3a 20 1a 1a 1a 1a 1a |5.. .XA |1: .....|
|00001f50| 1a 1a 1a 1a 1a 1a 1a 1a | 1a 1a 1a 1a 1a 1a 1a 1a |........|........|
|00001f60| 1a 1a 1a 1a 1a 1a 1a 1a | 1a 1a 1a 1a 1a 1a 1a 1a |........|........|
|00001f70| 1a 1a 1a 1a 1a 1a 1a 1a | 1a 1a 1a 1a 1a 1a 1a 1a |........|........|
+--------+-------------------------+-------------------------+--------+--------+