First lower RAMTOP with POKE 16389,112 and NEW, as the article says, then load or type the program and RUN. It shows the current address and its contents. Type a number to POKE it and move on, A followed by an address to move somewhere else, ENTER alone to skip a byte, R to run the code at 28758 with USR and print the result, and STOP to quit.
In line 50 the word STOP inside the quotes is the STOP keyword (SHIFT A), as the article says. Try 1, 0, 4, 201 at 28758 and then R: the code loads BC with 1024 and returns.
Published in Syntax December 1982 (Poke: Small Change for Machine Language Pokers).
Source Code
4 LET A=28758
5 PRINT
10 PRINT "(";A;")=";PEEK A;
30 INPUT A$
40 IF CODE A$=CODE "A" THEN GOTO 100
50 IF CODE A$=CODE " STOP " THEN STOP
60 IF A$="" THEN GOTO 78
62 IF CODE A$=CODE "R" THEN GOTO 1100
70 POKE A,VAL A$
75 PRINT TAB 14;VAL A$;
78 LET A=A+1
80 GOTO 5
100 LET A=VAL A$(2 TO )
105 PRINT
110 GOTO 5
1100 LET B=USR 28758
1102 PRINT
1105 PRINT B
1110 GOTO 5Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.

