Index wersja polska wersja polska

Elektronika MK-90 - data formats

All numbers on this page are hexadecimal, unless stated otherwise.


Character set

Characters are encoded according to the KOI-7 standard.

Character codes 20-3F

characters

Latin characters (set N0), codes 40-7F

Latin characters

Cyrillic characters (set N1), codes 40-7F

Cyrillic characters

These drawings were machine generated from the ROM image.


Representation of floating point numbers

A floating point number occupies three 16-bit words. First two words contain the 32-bit mantissa in two's complement form. The third word contains the 16-bit exponent with a bias of 0x8000. Examples:

Number Encoding
0
1
10
100
255
1000
65535
0.5
0.125
0.1
0.001
-1
-10
-0.1
0000 0000 0000
0000 4000 8001
0000 5000 8004
0000 6400 8007
0000 7F80 8008
0000 7D00 800A
8000 7FFF 8010
0000 4000 8000
0000 4000 7FFE
6666 6666 7FFD
374B 4189 7FF7
0000 C000 8001
0000 B000 8004
999A 9999 7FFD