TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Roger Scudder
from: Neil Heller
date: 2003-11-14 11:47:04
subject: [--- Ebcdic ---]

> Hmmm... if I received a byte value (ASCII) 65 ('A') how would I
> use  sscanf() to specify that val_1 = 6 and val_2 = 5?  I've
> never seen that  done with sscanf().  Could you also do do that
> sprintf()?

RS>  This message is a little old, but I thought the idea of 
RS> reading data that was written on a machine with a 12 bit 
RS> word architecture was just too interesting to pass by...

The architecture of the machine in question was 16-bit.  The integer 
values were limited to 12-bits (4096 max) and followed each other 
consecutively so that 2 integer values were stored in 3 bytes of memory.

þ CMPQwk 1.42 999

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.