| Instruction Name | Operation ID | Format | Binary |
|---|---|---|---|
| write | 0000 | constant (MBR <- Constant) ex) write 1111 write 0110 (MBR) == 1111 0110) write 1010 (MBR == 1010 0110) write 1000 (MBR == 1010 1000) |
0000 xxxx |
| save | 0001 | Reg, Address (Address <- Reg) xx | xx |
0001 xx xx |
| load | 0010 | Reg, Address (Reg <- Address) |
0010 xx xx |
| jump | 0011 | Reg (PCR <- Reg) |
0011 00 xx |
| beq | 0100 | Reg2~3 (branch to address of Reg2 or Reg3 data, if Reg0 and Reg1 are equal) |
0100 00 1x |
| bne | 0101 | Reg2~3 (branch to address of Reg2 or Reg3 data, if Reg0 and Reg1 are not equal) |
|
| bgt | 0110 | Reg2~3 (branch to address of Reg2 or Reg3 data, if Reg0 is greater than Reg1) |
0110 00 1x |
| regwrite | 0111 | Reg (Reg <- MBR) | 0111 00 xx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% extends "webPage/layout.html" %} | |
| {% block body %} | |
| <h1>This Page is About!</h1> | |
| {% endblock %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.shortcuts import render | |
| from django.http import HttpResponse,HttpResponseRedirect | |
| from django.views import View | |
| from django.contrib.auth.mixins import LoginRequiredMixin | |
| from django.core.exceptions import ObjectDoesNotExist | |
| from .forms import BoardPostForm | |
| from .models import BoardPost | |
| from datetime import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.urls import path, include | |
| from .views import * | |
| urlpatterns = [ | |
| path('home/', Home), | |
| path('news/', News), | |
| path('contact/', Contact), | |
| path('about/', About), | |
| path('board/<int:pageNumber>', BoardViewer.as_view()), | |
| path('board/', BoardViewerRedirect), |
| Microcode | instruction flags |
|---|---|
| Load to MBR | 00 |
| Write to MBR | 01 |
| Directly Write to MBR | 10 |
| Load to MBR | Select Loading |
|---|---|
| Register Output | 00 |
| RAM Output | 01 |
| Instruction Name | Operation ID | Format | Binary |
|---|---|---|---|
| (0) noOperation | 0000 | do not anything | 0000 0000 0000 0000 |
| (1) ALU+ | 0001 | RegC <- ALU+(RegA, RegB) | 0001 xxxx xxxx xxxx |
| (2) ALU- | 0010 | RegC <- ALU-(RegA, RegB) | 0010 xxxx xxxx xxxx |
| (3) ALU* | 0011 | RegC <- ALU*(RegA, RegB) | 0011 xxxx xxxx xxxx |
| (4) ALU/ | 0100 | RegC <- ALU/(RegA, RegB) | 0100 xxxx xxxx xxxx |
| (5) Store Register | 0101 | RegC <- MBR | 0101 xxxx 0000 0000 |
| (6) Load Register | 0110 | MBR <- RegC | 0110 xxxx 0000 0000 |
| (7) Store Memory | 0111 | RAM(Memory Address) <- MBR | 0111 xxxx xxxx xxxx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| #์ฃผ๋จน๊ตฌ๊ตฌ์.. ์ผ๋จ์ ๋์๊ฐ๊ฒ ๋ง๋ค์๋ค. | |
| #Token ์ ์ํ๊ธฐ! | |
| ##Instruction Identifer | |
| IID = { | |
| "no":"0", | |
| "alu+":"1", | |
| "alu-":"2", | |
| "alu*":"3", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Get all users | |
| var url = "http://localhost:8080/api/v1/users"; | |
| var xhr = new XMLHttpRequest() | |
| xhr.open('GET', url, true) | |
| xhr.onload = function () { | |
| var users = JSON.parse(xhr.responseText); | |
| if (xhr.readyState == 4 && xhr.status == "200") { | |
| console.table(users); | |
| } else { | |
| console.error(users); |
CMake๋ฅผ ์ ์ฐ๋๊ฑฐ์ฃ ?
์ข์ ํด์ Visual Studio ๋ฟ์ ๋๋ค. ๊ทธ ์ด์ธ์๋ ์ ๋ถ ์ฌ๋(้ช้)์ ๋๋ค ์ฌ๋! - ์์ฑ์
- ์ด ๋ฌธ์๋ CMake๋ฅผ ์ฃผ๊ด์ ์ผ๋ก ์์ ํฉ๋๋ค
- ์ด ๋ฌธ์๋ฅผ ํตํด CMake๋ฅผ ์์ํ๊ธฐ์ ์ ํฉํ์ง ์์ต๋๋ค
https://cgold.readthedocs.io/en/latest/ 3.1 ์ฑํฐ๊น์ง ๋ฐ๋ผํด๋ณธ ์ดํ ๊ธฐ๋ณธ์ฌํญ๋ค์ ์์ฑ์ผ๋ก ์ตํ๋ ๊ฒ์ ๋๊ธฐ์ํ ๋ณด์กฐ์๋ฃ๋ก์จ ์์ฑ๋์์ต๋๋ค
OlderNewer