(Comp.sys.hp48) Item: 2284 by akcs.mmorgan@hpcvbbs.cv.hp.com [Captain Morgan] Subj: Quine-McCluskey Method Date: 29 Nov 1992 So, once again, does anybody know how do use bitwise operators on the hp48? I am referring to bitwise operators that operate on binary numbers and not the ones that operate on hex-strings. ---------- Resp: 1 of 1 by detlef@dmhh.hanse.de [Detlef Mueller] Date: 01 Dec 1992 There seems to be only the bitwise AND available in the ROM (#AND 03EB1), for OR, NOT and XOR you can use the code obs below: OR: CODE GOSBVL =POP2# 03F5D A=-A!C A GOVLNG #03DC7 ENDCODE NOT: CODE GOSBVL =POP# 06641 A=-A-1 A GOVLNG #03DC7 ENDCODE XOR: CODE GOSBVL =POP2# 03F5D R0=A A=A&C A AR0EX A=A!C A C=R0 A=A-C A GOVLNG #03DC7 ENDCODE Bye, 8-Detlef -- +------------------------------------+--------------------------------------+ |`What a depressingly stupid machine'| Detlef Mueller | | -- Marvin | detlef@dmhh.hanse.de | +------------------------------------+--------------------------------------+