×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

conversion from binary to ascii

conversion from binary to ascii

conversion from binary to ascii

(OP)
Does anyone know of a conversion program to convert from reading in binary from a big endian machine to reading in ascii in a mall endian machine.

thanks
TEd Edwards

RE: conversion from binary to ascii

What is an "endian" machine?

RE: conversion from binary to ascii

What sort of data are you trying to convert?

Ben Loosli
CAD/CAM System Analyst
Ingersoll-Rand

RE: conversion from binary to ascii

Yes, if you will email me I'll send C or Basic code to do this.

Endian is an expression comming from the difference between how data is actually stored in the RAM memory by the Intel uProcessor vs how the same data is stored by other type uProcessors, such as the Apple computer. The memory addressing by the Intel has the first byte holding the lower half of 16-bit interger value and the second byte holding the higher. Other processors reverse this order. Things get even more convaluted with larger data types.

Transfering data between devices such as streaming serial information directly from memory to an outboard device can require knowledge of the stored data format and correcting for the 'endian' difference.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources