The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
HAWKEYE (edited) - Processor Flags and status bits
12-14-2021, 12:33 AM (This post was last modified: 12-16-2021 11:27 PM by Mike T..)
Post: #1
HAWKEYE (edited) - Processor Flags and status bits
Edited to correct title.

I'm trying to make sense of the various processor flags and status bits used by the HP67,

I'm reasonably happy with what the flags do though there are a couple of gaps in the table, and I can't work out if the mode flag should be set directly from the switch position.

Code:

Processor flags - 10 processor flags ? (F 0 - F 9)

    F 0  #?    Run / Program mode
    F 1        Carry
    F 2        Prev Carry
    F 3        Delayed ROM select
    F 4        ROM select
    F 5        Display enabled
    F 6        ???
    F 7        ???
    F 8        Timer (Not used)
    F 9        ???

However I'm rather less clear on which status bits are set or cleared directly by the hardware. S15 is set when any key is pressed and S11 appears to be set by the RUN/PRGM switch position.

However I'm unsure if any other bits are set or cleared directly by the hardware or what effect the CRC instructions have on them.

Code:

Processor status word - 16 status bits (S 0 - S 15)

# set/cleared by hardware?

    S 0        unused ?
    S 1        unused ?
    S 2        unused ?
    S 3        run/prgm mode? (set from switch position by CRC 300 cleared by CRC 1500?)

    S 4        used ?
    S 5  #     power OK ?
    S 6        used ?
    S 7        ?

    S 8        used ?
    S 9        ?
    S 10       ?
    S 11       ? (not the PRGM/RUN switch state!)
    S 12       (logical not) stack lift ?
    S 13       function key pressed
    S 14       ?
    S 15 #     set if any key is pressed

Thank you.

Mike T.

HP21, HP25, HP32E, HP33C, HP34C, HP10C, HP11C, HP12C, HP32S, HP22S
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HAWKEYE (edited) - Processor Flags and status bits - Mike T. - 12-14-2021 12:33 AM



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