0 1 2 3 4 5 6 7 8 9 A B C D E F EO_ 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599
EL 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615
E2_ 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631
E3_ 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647
E4_ 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663
E5_ 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679
E6_ 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695
E7_ 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711
E8_ 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727
E9_ 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743
EA_ 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759
EB_ 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775
EC_ 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791
ED_ 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807
EE_ 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823
EF_ 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 FO_ 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855
Fl
- 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871
F2
- 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887
F3 -3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903
F4_ 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919
F5_ 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935
F6_ 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951
F7
-
3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967
F8_ 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983
F9_ 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999
FA_ 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4()13 4014 4015
FB_ 4016 4017 4018' 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 FC_ 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 FD_ 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 FE_ 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 FF_ 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 Appendix F. Hexadecimal Tables F-5
Conversion Table: and Decimal Integers HALFWORD
BYTE BYTE BITS: 0123 4567 0123 4567 Hex Decimal Hex Decimal Hex Decimal Hex Decimal 0 0 9 0 0 0 0 0 1 268 , 435 , 456 1 16,777,216 1 1,048,576 1 65,536
2 531.,870,912 2 33,554,432 2 2,097,152 2 131,072 3 R05 , 306 , 368 3 50 331 648 3 3,145,728 3 196608
4 1,073,741 824 4 67 108 864 4 4,194 304 4 262,144 5 1,342,177,280 5 83,886,080 5 5,242,880 5 327,680 6 1,610,612,736 6 100,663,296 6 6,291,456 6 393,216
7 1,8711,-048,19:2 7 117 440 512 7 7,340,032 7 458,752 8 2,147,483,648 8 134,217 728 8 8,388,608 8 524,288 9 104 9 150,994,944 9 9,437,184 9 589,824
A 2,684,354,560 A 167,772,160 A 10,485,760 A 655,360 B 2,952,790 016 B 184 549 376 B 11,534 336 B 720 896
C 3,221,225,472 C 201 326 592 C 12,582 912 C 786 432
0 3,489,660,928 0 218,103,808 0 13 631 488 0 851,968
E 3,758,096,384 E 234,881,024 E 14,680,064 E 917,504
F 14,026,531,840 F 251,658,240 F 15,728,640 F 983,040 8 7 6 5 TO CONVERT HEXADECIMAL TO DECIMAL EXAMPLE
1. Locate the column of decimal numbers corresponding to Conversion of
the left-most digit or letter of the hexadecimal; select Hexadecimal Value from this column and record the number that corresponds
to the position of the hexadecimal digit or letter. 1. 0
2. Repeat step 1 for the next (second from the left) 2. 3
position.
3. Repeat step 1 for the units (third from the left) 3. 4
position.
4. Add the numbers selected from the table to form the
4. Decimal
decimal number. TO CONVERT DECIMAL TO HEXADECIMAL EXAMPLE
1. (a) Select from the table the highest decimal number
Conversion of
that is equal to or less than the number to be CO;'l- Decimal Value verted.
(b) Record the hexadecimal of the column containing
1. D
the se lected number.
(c) Subtract the selected decimal from the number to
be converted.
2. 3
2. Using the remainder from step l(c} repeat all of step 1
to develop the second position of the hexadecimal (and a remainder) . 3. 4
3. Using the remainder from step 2 repeat all of step 1 to
4. Hexadecimal
develop the units position of the hexadecimal.
4. Combine terms to form the hexadecimal number. POWERS OF 16 TABLE Example: 268,435,456
10
= (2.68435456 x 10
8
)10
= 1000 0000
1
6
= (10
7
)16
16
n
1 0 16 1
256 2
4 096 3
65 536 4
1 048 576 5
16 m 216 6
268 435 456 7
4 294 967 296 8
68 719 476 736 9
1 099 511 627 776 10 = A
17 592 186 044 416 11 = B
281 474 976 710 656 12 = C 4 503 599 627 370 496 13 = D
72 057 594 037 927 936 14", E ,1 152 921 504 606 846 976 15,/' F
v Decimal Values F-6 System/370 Principles of Operation Hex 0 1
2
3 4 5
6
7
8
9
A
B
C
0
E
F
034
3328 48 4 3380 3380 -3328 4 -4 D34
HALFWORD
BYTE BYTE 0123 4567 0123 4567 Decimal Hex Decimal Hex Decimal Hex Decimal 0 0 0 0 0 0 0 4,096 1 256 1 16 1 1
8,192 2 512 2 32 2 2
12,288 3 -m 3 48 3 3
16 384 4 1.024 4 64 4 4 20,480 5 1,280 5 80 5 5
24,576 6 1,536 6 96 6 6
28672 7 1,792 7 112 7 7
32 768 8 2.048 8 128 8 8 36,864 9 2,304 9 144 9 9
40.960 A 2,560 A 160 A 10 45 056 B 2 816 B 176 B 11
49 152 C 3.072 C 192 C 12
53,248 0 3,328 0 208 0 13 57,344 E 3,584 E 224 E 14 61,440 F 3;840 F -m- F 15 4 3 2 1
Ta convert integer numbers greater than the capacity of
table, use the techniques below: HEXADECIMAL TO DECIMAL Successive cumulative multiplication from left to right,
adding units pasition.
Example: 034
16
= 3380
10
DECIMAL TO HEXADECIMAL 0= 13 208
3 = + 3 2t1 x16
3376
4= +4 3380
Divide and collect the remainder in reverse order.
Previous Page Next Page