Post Reply 
HP-12CP Programming - Multiple programs
01-05-2023, 07:12 AM (This post was last modified: 01-05-2023 08:22 AM by ThomasF.)
Post: #2
RE: HP-12CP Programming - Multiple programs
Hi,

With the 12C the program editing support is very sparse, eg. there is no insert or delete in programming mode.

This means that you can enter an instruction on a line, but you can't move or delete it, and you can only replace it by writing a new instruction on the same line (replacing the old one).
Note that when entering an instruction, ONLY that line is changed (ie replacing the old instruction on that line), no other lines are changed or moved (like on the HP41 where entering an instruction will insert that instruction and move all following instruction up one line in memory).

So, if you have entered a program in line 072 to 086, you can't move it, you can only do that by manually typing in the same program in a new position (replacing something else).

The only way to remove that second program is to clear that part of the program memory (remember that "Clear PRGM" will erase the complete memory).

So to erase just line 072-086 you have to do that manually in programming mode:

1: Goto line 072:
(a) If in Run-mode, type "GTO 072" then enter Program mode ("P/R")
(b) Or if already in Program mode, type "GTO . 072" (notice the dot) to goto line 072.
2: Clear or replace program:
(a) Enter "GTO 000" on each line (eg 072-086) to clear that memory
(b) Or enter new instructions to replace the old program.

There is no way to move an instruction from one location to another.

(Edit: updated instruction line numbers, since 12CP handles more then 99 lines.)

Cheers,
Thomas

[35/45/55/65/67/97/80 21/25/29C 31E/32E/33E|C/34C/38E 41C|CV|CX 71B 10C/11C/12C/15C|CE/16C 32S|SII/42S 28C|S 48GX/49G/50G 35S 41X]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-12CP Programming - Multiple programs - ThomasF - 01-05-2023 07:12 AM



User(s) browsing this thread: 1 Guest(s)