cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

5-Regular Member

## Conversion of binary numbers into hexadecimal numbers

@Werner_E
Hello Werner,

I am currently looking for a way to process hexadecimal numbers with Prime and unfortunately I have seen that there is nothing out of the box. Now I would like to save myself the work of developing my own functions and using your preliminary work. Can you post the file here (I'm currently working with Prime 7).
Thanks very much
---------------------------

Hallo Werner,

ich suche gerade nach einer Möglichkeit mit Prime hexadezimal-Zahlen zu verarbeiten und habe gesehen es gibt leider nichts out of the box. Nun würde ich mir gerne die Arbeit ersparen eigene Funktionen zu entwickeln und Deine Vorarbeit zu nutzen. Kannst Du die Datei hier posten (ich arbeite aktuell mit Prime 7).

Vielen Dank

1 ACCEPTED SOLUTION

Accepted Solutions
5-Regular Member
(To:Werner_E)

Seems I was not patient enough to wait for replies and I created my own version (Prime 7). The attached file does not only contain conversion functions but also logic functions like AND,OR,XOR,NOR and SHIFT and a bitfield extract and set function. The intention is to manipulate and interpret register settings of microcontrollers or other integrated circuits. Nevertheless thanks for helping and I learned some new concepts with your implementations.

5 REPLIES 5
24-Ruby II
(To:mfroehler)
19-Tanzanite
(To:mfroehler)

Hallo

23-Emerald II
(To:mfroehler)

The attached Prime file contains a number of functions to convert radix (between binary, octal, decimal and hexadecimal, or an arbitrary radix in the range 2 to 16).

Some examples are provided.

Success!
Luc

24-Ruby IV
(To:mfroehler)

@mfroehler wrote:

@Werner_E
Hello Werner,

I am currently looking for a way to process hexadecimal numbers with Prime and unfortunately I have seen that there is nothing out of the box. Now I would like to save myself the work of developing my own functions and using your preliminary work. Can you post the file here (I'm currently working with Prime 7).
Thanks very much
---------------------------

Hallo Werner,

ich suche gerade nach einer Möglichkeit mit Prime hexadezimal-Zahlen zu verarbeiten und habe gesehen es gibt leider nichts out of the box. Nun würde ich mir gerne die Arbeit ersparen eigene Funktionen zu entwickeln und Deine Vorarbeit zu nutzen. Kannst Du die Datei hier posten (ich arbeite aktuell mit Prime 7).

Vielen Dank

I am not sure which file or which thread you are referring to?

But maybe the files posted by Terry and Luc are already what you are looking for.

An eager moderator felt he needed to fork your  reply to this older thread and create a new one. Unfortunately, this was done without referencing the old thread and thus the reference to the post to which you had referred was lost.

Attached is the file mentioned in the other thread, converted to Prime 6 format so it should open fine with newer Prime versions.

5-Regular Member
(To:Werner_E)

Seems I was not patient enough to wait for replies and I created my own version (Prime 7). The attached file does not only contain conversion functions but also logic functions like AND,OR,XOR,NOR and SHIFT and a bitfield extract and set function. The intention is to manipulate and interpret register settings of microcontrollers or other integrated circuits. Nevertheless thanks for helping and I learned some new concepts with your implementations.

Announcements
Check out the latest