Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
labo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISC2
pro
labo
Commits
d1a35cfe
Commit
d1a35cfe
authored
1 year ago
by
iliya
Browse files
Options
Downloads
Patches
Plain Diff
improved last ex of lab2
parent
6c1e8fe7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
2-2_asm/src/assembleur.s
+24
-1
24 additions, 1 deletion
2-2_asm/src/assembleur.s
with
24 additions
and
1 deletion
2-2_asm/src/assembleur.s
+
24
−
1
View file @
d1a35cfe
...
...
@@ -66,6 +66,29 @@ err:
.
thumb_func
majuscule
:
//
index
tableau
mov
r1
,
#
0
boucle_while
:
ldrb
r2
,
[
r0
,
r1
]
cmp
r2
,
#
0
beq
exit
cmp
r2
,
#
97
blt
next_iter
cmp
r2
,
#
122
bgt
next_iter
sub
r2
,
#
32
strb
r2
,
[
r0
,
r1
]
b
next_iter
next_iter
:
add
r1
,
#
1
b
boucle_while
exit
:
bx
lr
/*
majuscule
:
//
index
while
loop
mov
r1
,
#
0
...
...
@@ -89,7 +112,7 @@ if_cond:
sub
r2
,
#
32
strb
r2
,
[
r0
],
#
1
add
r1
,
#
1
b
debut_while
b
debut_while
*/
//.
weak
add_sat
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment