HP41 Mcode: SELPF arguments


While working on my disassembler I decided to add some comments to the SELPF instrcution, but I could not find any substantial info about the meaning of the arguments. 9 seems to be the printer, and anything below 9 belongs to HP-IL. Does anyone have more info about this instruction?

Thanks, Meindert


Hi Meindert,

please take a look into the Zenrom manual;-)

IIRC the SELPF argument addresses the peripheral,
and may be followed by data word(s) .

The data word LSB indicates the end of the data sequence,
which means control will be passed back to the mainframe.




Thanks for the tip, it confirms what I already suspected,



i think one of the most complete list of SELPF is part of the HEPAX manual which can be found on this dvd as well as on TOS I believe.



Possibly Related Threads...
Thread Author Replies Views Last Post
  [Prime]Passing lists as arguments Andy Gryc 2 1,014 11-18-2013, 10:16 PM
Last Post: Andy Gryc
  HP-41 MCODE: The Last Function - at last! Ángel Martin 0 744 11-08-2013, 05:11 AM
Last Post: Ángel Martin
  41-MCODE: Auto XEQ+ALPHA possible? Ángel Martin 5 1,427 05-29-2013, 06:15 AM
Last Post: Ángel Martin
  HP 41 Mcode related Questions Michael Fehlhammer 4 1,380 05-10-2013, 07:09 PM
Last Post: Michael Fehlhammer
  41-MCODE: Breaking the FAT barrier. Ángel Martin 0 698 09-03-2012, 06:31 AM
Last Post: Ángel Martin
  41-MCODE: Dr. Jekyll & Mr. Hyde Ángel Martin 9 2,345 07-09-2012, 09:41 AM
Last Post: Monte Dalrymple
  HP41C: Factorial (kind of) in MCODE Frido Bohn 7 1,839 05-26-2012, 09:18 AM
Last Post: Frido Bohn
  41-MCODE: SOLVE & INTEG - 4k ROM Ángel Martin 9 2,076 04-19-2012, 05:29 AM
Last Post: fhub
  41-MCODE: a weekend challenge Ángel Martin 3 1,171 03-19-2012, 06:49 AM
Last Post: Mike (Stgt)
  41-MCODE trivia: backwards or forwards? Ángel Martin 3 1,140 03-05-2012, 04:38 PM
Last Post: Håkan Thörngren

Forum Jump: