Vajad kellegagi rääkida?
Küsi julgelt abi LasteAbi
Logi sisse
Sulge

"01111001" - 2 õppematerjali

Mikrokontrollerid ja robootika homework 1
14
pdf

Mikrokontrollerid ja robootika homework 1

16-bit equivalent is 0000 0000 0110 10112 Result in hexadecimal = 006B16 b) 101101012 16-bit equivalent is 1111 1111 1011 01012 Result in hexadecimal = FFB516 Logic and arithmetic 4. Using two’s complement arithmetic, calculate the following (choose a suitable number of bits for the representation): a) 121 – 185 = -64 121 in 16-bit binary is 0000 0000 0111 1001 -185 in 16-bit binary is 1111 1111 1011 1001 -64 in 16-bit binary is 1111 1111 1100 0000 00000000 01111001 + 11111111 10111001 --------------------------- 11111111 11000000 b) -70 – 88 = -158 11111111 10111010 - 00000000 01011000 ------------------------- 11111111 01100010 5. Calculate the following without converting the number base. Show calculations. 3A916 + 24D16 = 5F616 3A9 + 24D --------- 5F6 9 + D = 16 A+4+1=F 3+2=5 6. Variable X contains the number of bytes to be read from an external device. Using a binary

Mehhatroonika → Mikrokontrollerid ja robootika
6 allalaadimist
Decimal
3
docx

Decimal

70 46 106 01000110 86 56 126 01010110 102 66 146 01100110 118 76 166 01110110 71 47 107 01000111 87 57 127 01010111 103 67 147 01100111 119 77 167 01110111 72 48 110 01001000 88 58 130 01011000 104 68 150 01101000 120 78 170 01111000 73 49 111 01001001 89 59 131 01011001 105 69 151 01101001 121 79 171 01111001 74 4A 112 01001010 90 5A 132 01011010 106 6A 152 01101010 122 7A 172 01111010 75 4B 113 01001011 91 5B 133 01011011 107 6B 153 01101011 123 7B 173 01111011 76 4C 114 01001100 92 5C 134 01011100 108 6C 154 01101100 124 7C 174 01111100 77 4D 115 01001101 93 5D 135 01011101 109 6D 155 01101101 125 7D 175 01111101

Informaatika → Algoritmid ja andmestruktuurid
5 allalaadimist


Sellel veebilehel kasutatakse küpsiseid. Kasutamist jätkates nõustute küpsiste ja veebilehe üldtingimustega Nõustun