Skip to content

Conversation

@jameshughes89
Copy link
Owner

@jameshughes89 jameshughes89 commented Mar 21, 2025

What

Create assignment 4

How

Some machine code problems
Modifying the instruction set problems
Assembly problem

Testing

Gonna check artifact 👍

@jameshughes89
Copy link
Owner Author

I ended up removing the scripts to generate the instructions. I think it's better having them go through the effort of making them themselves based on the course content (or at least downloading them from the github page).

I almost removed the assembler, but figured I should keep it for them. I did remove it from the folder, but added to the actions a copy of the assembler to the folder.

zip -jr site/assignments/assignment-1/assignment_1-dig_files.zip site/assignments/assignment-1/assignment_1-dig_files
zip -jr site/assignments/assignment-2/assignment_2-dig_files.zip site/assignments/assignment-2/assignment_2-dig_files
zip -jr site/assignments/assignment-3/assignment_3-dig_files.zip site/assignments/assignment-3/assignment_3-dig_files
cp site/topics/programming/assembler.py site/assignments/assignment-4/assignment_4-dig_files/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may want to add a check to ensure no files are being overwritten

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean -n?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-n doesn't fail, it merely avoids overwriting. The idea would be to crash if you have two files named the same

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha'

Future problem

@jameshughes89 jameshughes89 merged commit ef7d526 into main Mar 21, 2025
3 checks passed
@jameshughes89 jameshughes89 deleted the assignment-4-create branch March 21, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants