Sie sind auf Seite 1von 7

j

j .
j j ASCII (American Standard
Code for Information Interchange), BCD (Binary Coded Decimal),
j j (oat-point numbers,
real numbers ).

ASCII

, , j j
. j
, j ASCII. ASCII
j . ASCII j 7
, j j jjjj j j
.
ASCII (control characters )
(printable characters ) j 0 127.
32 , 0 31 j
, 32 127.
, j j
. ,
. , j
j (. =41h=01000001, a=61h=01100001). ASCII
256 .
ASCII j j

dene byte (DB). ASCII j ,


j. j (').
ASCII j 1.
1: ASCII
poruka
greska

db
db

' Ovo je ASCII poruka '


' Greska ! Unesite novu vrednost '

1:

j j

BCD

BCD j
DB j j . BCD j
j j ( j ).
j j
2.
2: BCD
broj1 db
broj2 db

35 h
12h , 34 h

; broj 35
; broj 3412

BCD j j j j
( j ). j
j 3.
3: BCD
broj1 db
broj2 db

3
; broj 3
1 , 2, 3 ; broj 321

j (Byte-Sized Data )

j
j. j j
jj j, j 1.
j 0 255,
j -128 +127. j
. j
DB (dene byte ). j
j 4.
2

2:

4: j
bajt1
bajt2
bajt3
bajt4

db
db
db
db

255
42 h
+77
-77

%
%
%
%

unsigned decimal data


unsigned hex data
signed integer
signed integer

(Word-Sized Data )

j (16 ). j
j j j , j
j . j
little endian .
big endian j j j,
j j j
(). 2
.
.
-32768 +32767, 0
65536.
DW (dene word ).
3 j j j j 9731h
. j
5.
5:
rec1
rec2
rec3
rec4

dw
dw
dw
dw

4578 h
427
-556
+557

%
%
%
%

unsigned word
unsigned word
signed word
signed word

3:

4:

j j

j j

(Doubleword-Sized Data )

j 32 4 j
j. DD (dene doubleword ). j j little endian j
4.
j
6.
6:
drec1
drec2
drec3
drec4

dd
dd
dd
dd

11223344 h
427891
-5566677
+5566677

%
%
%
%

unsigned doubleword hex data


unsigned doubleword decimal data
signed doubleword data
signed doubleword data

5:

j, j (oat-point numbers )
j : (mantissa ) (exponent ).
j j
IEEE-754 j j
j. j j j :

4 j  j (single-precision );
8 j  (double-precision ).
5 j j j
.
j jj j 4 j
DD (dene doubleword ), j j
8 j DQ (dene quadwords ). j
j 24 , j 1 j
. j j
1 2 . j
52 .
j jj j
j 7.
7: j jj j

num1
num2
num3
num4

dd
dd
dq
dq

12.00 %
-1.75 %
135.57
-1.005

single precision
single precision
% double precision
% double precision

6:

j j

j jj
j, j j, j
. j,
j j j 127 (7Fh),
j j j. ,
j jj 12.00. j j
1100, j j 1.1x23 .
j j 3, j 3+127=130, j. j
j 10000010. j j 10...0 (23 ).
j j 41400000h
j 6.

1. ASCII ,
ASCII ?
2. j j j ASCII
'Dobar dan!'.
3. j j
4599h.
4. j j
22447799h.
5. j j little endian big endian
j?
6. j little endian
.
7. j j BCD ?
8. j 97 BCD .
9. j j j j
j ?

10. j 27.5
j j.
11. j jj j
.