TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Neil Heller
from: Jasen Betts
date: 2003-11-16 09:24:22
subject: [--- Ebcdic ---]

Hi Neil.

14-Nov-03 11:47:04, Neil Heller wrote to Roger Scudder


 >> 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 reading
 RS>> data that was written on a machine with a 12 bit word
 RS>> architecture was just too interesting to pass by...

 NH> The architecture of the machine in question was 16-bit.

internal or external. (eg: 8088 is internally 16 bit but externally 8-bit.)

 NH> The integer values were limited to 12-bits (4096 max) and followed
 NH> each other consecutively so that 2 integer values were stored in 3
 NH> bytes of memory.

wierd!  how were they addressed?
could the individual 8-bit bytes be also addressed?

 -=> Bye <=-

---
* Origin: Black Holes were created when God divided by zero! (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 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™.