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
thanks
TEd Edwards






RE: conversion from binary to ascii
RE: conversion from binary to ascii
Ben Loosli
CAD/CAM System Analyst
Ingersoll-Rand
RE: conversion from binary to ascii
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.