What I am doing

1 rating
49 views
Want to add this video to your favorites?
Sign in to VidLii now!
Want to add this video to your playlists?
Sign in to VidLii now!
Want to flag this video?
Sign in to VidLii now!
Video Responses (0) Sign in to make a video response
This video doesn't have any video responses!
Text Comments (1) Sign in to post a comment
TehHacksSparta (5 years ago)
TehHacksSparta
0
Commands: (Program_Counter starts at 200)
NON - Tells the CPU to not use New Lines on print functions
CHC - Tells the CPU to do a Checksum function, sets Register_A to 1 if the checksum passes
Rege - Compares Register B and Register A, if Register A = Register B then do next instruction otherwise do second instruction from the RGAB instruction. Use this in conjunction with CHC to create a Checksum verify technique.
SKP - Skips over next instruction.
A,[value] - Sets Register_A to [value]
B,[value] - Sets Register_B to [value]
T,[value] - Sets Register_Temp to [value]
P,[value] - If [value] is 1 then it prints ASCII from Register A, if [value] is 2 it prints ASCII from Register B, if [value] is 3 then it prints ASCII from Register Temp, if [value] is 4 then it prints a new line.
LIN - Tells the CPU to use New Lines on print functions
CHK,[checksum] - Tells the compiler that the predefined checksum is the value next to it.
END - Tells the CPU to stop executing code.
; - Comment (there is
Sign up for a free account, or sign in to post a comment.
Date: Nov 11, 2018 Views: 49 Ratings: 1
Time: Comments: 1 Favorites: 1