push last commit

This commit is contained in:
Arthur Lu
2022-08-13 16:36:00 -07:00
parent a659abea2a
commit 2f967bef04
12 changed files with 106 additions and 165 deletions

View File

@@ -0,0 +1,6 @@
FROM python:slim
WORKDIR /
RUN apt-get -y update; apt-get -y upgrade
RUN apt-get -y install git binutils xxd
COPY requirements.txt .
RUN pip install -r requirements.txt

View File

@@ -0,0 +1,30 @@
{
"name": "cse141L development container",
"build": {
"dockerfile": "Dockerfile",
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"python.pythonPath": "/usr/local/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
"python.linting.pylintPath": "/usr/local/bin/pylint",
"python.testing.pytestPath": "/usr/local/py-utils/bin/pytest",
"editor.tabSize": 4,
"editor.insertSpaces": false
},
"extensions": [
"mhutchie.git-graph",
"ms-python.python",
"waderyan.gitblame"
],
"postCreateCommand": ""
}

View File

@@ -0,0 +1 @@
tqdm

View File

@@ -60,7 +60,6 @@ lfsr_routine: GET r7 // get previous state
PUT r7 // put next state to r7
GET r14 // load link register
JMP r0 // return to function call address
done: LDI #b10000000 // load the processor flag state needed to halt the program
PUT r15 // put and set the done flag to 1 to halt the PC and indicate the program has finished
done: DNE // flag the CPU as done
LDI #d255
JMP r0

View File

@@ -101,7 +101,6 @@ lfsr_routine: GET r7 // get previous state
PUT r7 // put next state to r7
GET r14 // load link register
JMP r0 // return to function call address
done: LDI #b10000000 // load the processor flag state needed to halt the program
PUT r15 // put and set the done flag to 1 to halt the PC and indicate the program has finished
done: DNE // flag the CPU as done
LDI #d255
JMP r0

View File

@@ -109,7 +109,6 @@ lfsr_routine: GET r7 // get previous state
PUT r7 // put next state to r7
GET r14 // load link register
JMP r0 // return to function call address
done: LDI #b10000000 // load the processor flag state needed to halt the program
PUT r15 // put and set the done flag to 1 to halt the PC and indicate the program has finished
done: DNE // flag the CPU as done
LDI #d255
JMP r0