HP Forums
HP50G on Emu48 : ->Tag for negative numbers - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: HP50G on Emu48 : ->Tag for negative numbers (/thread-14004.html)



HP50G on Emu48 : ->Tag for negative numbers - Gil - 11-17-2019 11:28 PM

I don't have a HP50G calculator, so that I use the great Emu48 application.

Question :
Is it normal that, with the HP50G on EMU48, the ->TAG command adds parentheses to the negative numbers (it does not add these parentheses on HP48-calculator or on HP48-Emu48)?

For instance :
-5 "AB" ->TAG returns
ABSad-5)
(but it returns the clearer
expression AB: -5 on HP48).

Regards,
Gil


RE: HP50G on Emu48 : ->Tag for negative numbers - ijabbott - 11-18-2019 12:01 AM

Yes, it's the same on the real HP 50g. (Not that surprising, since Emu48 emulates the Saturn CPU running the same code as the real HP 50g. In fact, the real HP 50g also emulates the Saturn CPU.)


RE: HP50G on Emu48 : ->Tag for negative numbers - Marco Polo - 11-18-2019 07:49 AM

(11-18-2019 12:01 AM)ijabbott Wrote:  Yes, it's the same on the real HP 50g. (Not that surprising, since Emu48 emulates the Saturn CPU running the same code as the real HP 50g. In fact, the real HP 50g also emulates the Saturn CPU.)
Not on mine


RE: HP50G on Emu48 : ->Tag for negative numbers - ijabbott - 11-18-2019 08:35 AM

(11-18-2019 07:49 AM)Marco Polo Wrote:  
(11-18-2019 12:01 AM)ijabbott Wrote:  Yes, it's the same on the real HP 50g. (Not that surprising, since Emu48 emulates the Saturn CPU running the same code as the real HP 50g. In fact, the real HP 50g also emulates the Saturn CPU.)
Not on mine

It does with the latest 2.15 firmware. What version is your HP 50g running? Maybe it depends on flag settings?


RE: HP50G on Emu48 : ->Tag for negative numbers - Marco Polo - 11-18-2019 09:22 AM

(11-18-2019 08:35 AM)ijabbott Wrote:  
(11-18-2019 07:49 AM)Marco Polo Wrote:  Not on mine

It does with the latest 2.15 firmware. What version is your HP 50g running? Maybe it depends on flag settings?
2.15

I suppose it is a matter of flags.
Mine are attached


RE: HP50G on Emu48 : ->Tag for negative numbers - Joe Horn - 11-18-2019 12:16 PM

The extraneous parentheses disappear when flag -79 is turned off (Textbook display mode).


RE: HP50G on Emu48 : ->Tag for negative numbers - grsbanks - 11-18-2019 03:29 PM

(11-18-2019 12:16 PM)Joe Horn Wrote:  The extraneous parentheses disappear when flag -79 is turned off (Textbook display mode).

Nice find Smile

Just to clarify that Textbook mode is actually the opposite of flag -79. If you want to lose Textbook mode and the extraneous parentheses, you have to _set_ flag -79.


RE: HP50G on Emu48 : ->Tag for negative numbers - Gil - 11-18-2019 04:25 PM

As always, HP was "right".
Thanks for your finding.
Gil


RE: HP50G on Emu48 : ->Tag for negative numbers - Marco Polo - 11-18-2019 07:31 PM

(11-18-2019 12:16 PM)Joe Horn Wrote:  The extraneous parentheses disappear when flag -79 is turned off (Textbook display mode).
Strange enough, 48gx with Metakernel 2.30 does not show the extraneous parentheses, regardless textbook mode is engaged or not