Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
Week10-Examples
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
p.jervis
Week10-Examples
Commits
e8457592
Commit
e8457592
authored
Nov 20, 2017
by
Paul Jervis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some code I wrote for demonstrating some of the commands in the ARM UAL.
parents
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
messing_about.s
messing_about.s
+23
-0
No files found.
messing_about.s
0 → 100644
View file @
e8457592
arrr EQU 0x400
door FILL 12
other DCD 15, 16, 17, 18, 17, 16, 15
offset EQU 0x100
MOV R0, #1
MOV R1, #2
LDR R8, =offset
CMP R0, R1
BLT smaller_r0
MOV R2, R1
B end_run
smaller_r0 MOV R2, R0
end_run
; check is result even
AND R3, R2, #1
END
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment