blob: 8668a613b11af2eae5582cb54e75f323a15e0ef8 (
plain)
1
2
3
4
5
6
7
8
|
//Example 2-17//
//Hexadecimal to binary conversion//
x=hex2dec('FACE')
//decimal conversion of the hexadecimal number//
a=dec2bin(x)
//Binary equivalent of the decimal number//
disp(a)
//answer in binary form//
|