hi,
let's put a binary form of i.e. -15180, we have 14 "1" and then only 12 significant digits to the right, ok.
We have X: 11111111111111...
We can see it with Shift-Show but for a while (...00010010110100).
I would like to see the whole number without keeping pressed Show. I don't remember how to do, ehm.
Salvo
Show all digits in binary number
Show all digits in binary number
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42
-
- Posts: 1100
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Show all digits in binary number
There's no built-in way to do that, but you could use a program that does something like this:salvomic wrote: ↑Fri Feb 09, 2018 4:50 pmhi,
let's put a binary form of i.e. -15180, we have 14 "1" and then only 12 significant digits to the right, ok.
We have X: 11111111111111...
We can see it with Shift-Show but for a while (...00010010110100).
I would like to see the whole number without keeping pressed Show. I don't remember how to do, ehm.
LBL "BVIEW"
CLA
BINM
ARCL ST X
DECM
PROMPT
END
Re: Show all digits in binary number
ok, Thomas.Thomas Okken wrote: ↑Fri Feb 09, 2018 6:30 pm
There's no built-in way to do that, but you could use a program that does something like this:
LBL "BVIEW"
CLA
BINM
ARCL ST X
DECM
PROMPT
END
I'm trying it.
I don't remember how to input
ARCL ST X
If I put ARCL from "CATALOG -> FCN" then choose X from soft menu I get
ARCL "X"
but so the program don't seems to work.
Salvo
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42
-
- Posts: 795
- Joined: Wed May 03, 2017 7:46 pm
- Location: Malone, NY USA
Re: Show all digits in binary number
After ARCL, press the period key then IND and then ALPHA and choose your letter.salvomic wrote: ↑Fri Feb 09, 2018 7:01 pmok, Thomas.Thomas Okken wrote: ↑Fri Feb 09, 2018 6:30 pm
There's no built-in way to do that, but you could use a program that does something like this:
LBL "BVIEW"
CLA
BINM
ARCL ST X
DECM
PROMPT
END
I'm trying it.
I don't remember how to input
ARCL ST X
If I put ARCL from "CATALOG -> FCN" then choose X from soft menu I get
ARCL "X"
but so the program don't seems to work.
Salvo
Tom L
Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Re: Show all digits in binary number
ok!toml_12953 wrote: ↑Fri Feb 09, 2018 7:04 pm
After ARCL, press the period key then IND and then ALPHA and choose your letter.
ok with period, and ST X beside IND.
I should read again the HP-42s manual!
Now the program works as expected. I saved it in the program folder...
Thanks a lot!
Salvo
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42
-
- Posts: 1100
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Show all digits in binary number
On second thought, it's better to use EXITALL instead of DECM in that code. DECM leaves BASE mode active, which means the arithmetic keys are BASE+, BASE-, etc., and that can be really confusing.
Re: Show all digits in binary number
thank you for advice. I'll change with EXITALL and give a try today.Thomas Okken wrote: ↑Sat Feb 10, 2018 8:36 amOn second thought, it's better to use EXITALL instead of DECM in that code. DECM leaves BASE mode active, which means the arithmetic keys are BASE+, BASE-, etc., and that can be really confusing.
Salvo
EDIT: it works well in Free42 and DM42!
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42