From 667fa9d01a67b7461a68c5adc564bc69ea880973 Mon Sep 17 00:00:00 2001 From: Andrei Solodovnikov Date: Tue, 2 Apr 2024 12:02:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=A06.=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20hex-=D0=B7=D0=BD=D0=B0=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=B2=20=D0=B4=D0=B2=D0=BE=D0=B8?= =?UTF-8?q?=D1=87=D0=BD=D1=8B=D0=B9=20=D0=BB=D0=B8=D1=81=D1=82=D0=B8=D0=BD?= =?UTF-8?q?=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Labs/06. Datapath/README.md | 54 ++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/Labs/06. Datapath/README.md b/Labs/06. Datapath/README.md index c250bebc..93b5c834 100644 --- a/Labs/06. Datapath/README.md +++ b/Labs/06. Datapath/README.md @@ -139,33 +139,33 @@ _Рисунок 2. Микроархитектура процессора._ Теперь в соответствии с кодировкой инструкций переведем программу в машинные коды: ```text -00: 011101011100 00000 000 00001 0010011 -04: 100010100111 00000 000 00010 0010011 -08: 0000000 00010 00001 000 00011 0110011 -0C: 0000000 00010 00001 111 00100 0110011 -10: 0100000 00011 00100 000 00101 0110011 -14: 0000001 00100 00011 000 00110 0110011 -18: 00000101000000000000 01111 1101111 -1C: 000000000000 00110 000 01111 1100111 -20: 0000000 11111 00101 001 00111 0010011 -24: 0100000 00001 00111 101 01000 0010011 -28: 0000000 11101 01000 101 01001 0010011 -2C: 11111010110111101100 01010 0110111 -30: 101010111110 01010 000 01010 0010011 -34: 0000000 01010 00100 010 00000 0100011 -38: 0000000 01010 00100 001 00110 0100011 -3C: 0000000 01010 00100 000 01011 0100011 -40: 000000000000 00100 010 01011 0000011 -44: 000000000000 00100 001 01100 0000011 -48: 000000000000 00100 000 01101 0000011 -4C: 000000000000 00100 101 01110 0000011 -50: 000000000000 00100 100 01111 0000011 -54: 00000000000000000100 10000 0010111 -58: 0000000 00011 00100 001 01000 1100011 -5C: 00000000 00000000 00000000 00000000 -60: 00000000010000000000 10001 1101111 -64: 000000000000 10001 000 01110 1100111 -68: 000000000100 01111 000 10010 1100111 +00: 011101011100 00000 000 00001 0010011 (0x75C00093) +04: 100010100111 00000 000 00010 0010011 (0x8A700113) +08: 0000000 00010 00001 000 00011 0110011 (0x002081B3) +0C: 0000000 00010 00001 111 00100 0110011 (0x0020F233) +10: 0100000 00011 00100 000 00101 0110011 (0x403202B3) +14: 0000001 00100 00011 000 00110 0110011 (0x02418333) +18: 00000101000000000000 01111 1101111 (0x050007EF) +1C: 000000000000 00110 000 01111 1100111 (0x000307E7) +20: 0000000 11111 00101 001 00111 0010011 (0x01F29393) +24: 0100000 00001 00111 101 01000 0010011 (0x4013D413) +28: 0000000 11101 01000 101 01001 0010011 (0x01D45493) +2C: 11111010110111101100 01010 0110111 (0xFADEC537) +30: 101010111110 01010 000 01010 0010011 (0xABE50513) +34: 0000000 01010 00100 010 00000 0100011 (0x00A22023) +38: 0000000 01010 00100 001 00110 0100011 (0x00A21323) +3C: 0000000 01010 00100 000 01011 0100011 (0x00A205A3) +40: 000000000000 00100 010 01011 0000011 (0x00022583) +44: 000000000000 00100 001 01100 0000011 (0x00021603) +48: 000000000000 00100 000 01101 0000011 (0x00020683) +4C: 000000000000 00100 101 01110 0000011 (0x00025703) +50: 000000000000 00100 100 01111 0000011 (0x00024783) +54: 00000000000000000100 10000 0010111 (0x00004817) +58: 0000000 00011 00100 001 01000 1100011 (0x00321463) +5C: 00000000 00000000 00000000 00000000 (0x00000000) +60: 00000000010000000000 10001 1101111 (0x004008EF) +64: 000000000000 10001 000 01110 1100111 (0x00088767) +68: 000000000100 01111 000 10010 1100111 (0x00478967) ``` Данная программа, представленная в шестнадцатеричном формате находится в файле [program.mem](program.mem).