Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rechnertechnik
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
Container 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Gerwinski
Rechnertechnik
Commits
46ccf994
Commit
46ccf994
authored
3 years ago
by
Peter Gerwinski
Browse files
Options
Downloads
Patches
Plain Diff
Weitere Beispiele 31.5.2022
parent
69d9b719
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
20220531/blink-asm-02.S
+40
-0
40 additions, 0 deletions
20220531/blink-asm-02.S
20220531/blink-asm-03.S
+40
-0
40 additions, 0 deletions
20220531/blink-asm-03.S
20220531/blink-asm-04.S
+40
-0
40 additions, 0 deletions
20220531/blink-asm-04.S
with
120 additions
and
0 deletions
20220531/blink-asm-02.S
0 → 100644
+
40
−
0
View file @
46ccf994
.
file
"blink.c"
__SP_H__
=
0x3e
__SP_L__
=
0x3d
__SREG__
=
0x3f
__tmp_reg__
=
0
__zero_reg__
=
1
.
section
.
text
.
startup
,
"ax"
,
@
progbits
.
global
pruzzel
.
type
pruzzel
,
@
function
pruzzel
:
/*
prologue
:
function
*/
/*
frame
size
=
0
*/
/*
stack
size
=
0
*/
.
L__stack_usage
=
0
ldi
r24
,
0x20
/*
Lade
die
Zahl
0x20
(
unmittelbar
-
immediately
)
in
das
Register
r24
*/
sts
0x24
,
r24
/*
Speichere
das
Register
r24
in
der
Speicherzelle
Nr
.
0x24
*/
.
L3
:
sts
0x25
,
r24
/*
Speichere
das
Register
r24
in
der
Speicherzelle
Nr
.
0x25
(=
PORTB
)
*/
ldi
r18
,
lo8
(
799999
)
ldi
r19
,
hi8
(
799999
)
ldi
r25
,
hlo8
(
799999
)
1
:
subi
r18
,
1
sbci
r19
,
0
sbci
r25
,
0
brne
1
b
rjmp
.
nop
sts
0x25
,
__zero_reg__
/*
Speichere
ein
Register
mit
dem
Inhalt
0
in
der
Speicherzelle
Nr
.
0x25
*/
ldi
r18
,
lo8
(
799999
)
ldi
r19
,
hi8
(
799999
)
ldi
r25
,
hlo8
(
799999
)
1
:
subi
r18
,
1
sbci
r19
,
0
sbci
r25
,
0
brne
1
b
rjmp
.
nop
rjmp
.
L3
.
size
pruzzel
,
.
-
pruzzel
.
ident
"GCC: (GNU) 5.4.0"
This diff is collapsed.
Click to expand it.
20220531/blink-asm-03.S
0 → 100644
+
40
−
0
View file @
46ccf994
.
file
"blink.c"
__SP_H__
=
0x3e
__SP_L__
=
0x3d
__SREG__
=
0x3f
__tmp_reg__
=
0
__zero_reg__
=
1
.
section
.
text
.
startup
,
"ax"
,
@
progbits
.
global
pruzzel
.
type
pruzzel
,
@
function
pruzzel
:
/*
prologue
:
function
*/
/*
frame
size
=
0
*/
/*
stack
size
=
0
*/
.
L__stack_usage
=
0
ldi
24
,
0x20
/*
Lade
die
Zahl
0x20
(
unmittelbar
-
immediately
)
in
das
Register
Nr
.
24
*/
sts
0x24
,
24
/*
Speichere
das
Register
Nr
.
24
in
der
Speicherzelle
Nr
.
0x24
*/
.
L3
:
sts
0x25
,
24
/*
Speichere
das
Register
Nr
.24
in
der
Speicherzelle
Nr
.
0x25
(=
PORTB
)
*/
ldi
18
,
lo8
(
799999
)
ldi
19
,
hi8
(
799999
)
ldi
25
,
hlo8
(
799999
)
1
:
subi
18
,
1
sbci
19
,
0
sbci
25
,
0
brne
1
b
rjmp
.
nop
sts
0x25
,
__zero_reg__
/*
Speichere
ein
Register
mit
dem
Inhalt
0
in
der
Speicherzelle
Nr
.
0x25
*/
ldi
18
,
lo8
(
799999
)
ldi
19
,
hi8
(
799999
)
ldi
25
,
hlo8
(
799999
)
1
:
subi
18
,
1
sbci
19
,
0
sbci
25
,
0
brne
1
b
rjmp
.
nop
rjmp
.
L3
.
size
pruzzel
,
.
-
pruzzel
.
ident
"GCC: (GNU) 5.4.0"
This diff is collapsed.
Click to expand it.
20220531/blink-asm-04.S
0 → 100644
+
40
−
0
View file @
46ccf994
.
file
"blink.c"
__SP_H__
=
0x3e
__SP_L__
=
0x3d
__SREG__
=
0x3f
__tmp_reg__
=
0
__zero_reg__
=
1
.
section
.
text
.
startup
,
"ax"
,
@
progbits
.
global
pruzzel
.
type
pruzzel
,
@
function
pruzzel
:
/*
prologue
:
function
*/
/*
frame
size
=
0
*/
/*
stack
size
=
0
*/
.
L__stack_usage
=
0
ldi
r24
,
0x30
/*
Lade
die
Zahl
0x20
(
unmittelbar
-
immediately
)
in
das
Register
r24
*/
sts
0x24
,
r24
/*
Speichere
das
Register
r24
in
der
Speicherzelle
Nr
.
0x24
(=
DDRB
)
*/
.
L3
:
sts
0x25
,
r24
/*
Speichere
das
Register
r24
in
der
Speicherzelle
Nr
.
0x25
(=
PORTB
)
*/
ldi
r18
,
lo8
(
799999
)
ldi
r19
,
hi8
(
799999
)
ldi
r25
,
hlo8
(
799999
)
1
:
subi
r18
,
1
sbci
r19
,
0
sbci
r25
,
0
brne
1
b
rjmp
.
nop
sts
0x25
,
__zero_reg__
/*
Speichere
ein
Register
mit
dem
Inhalt
0
in
der
Speicherzelle
Nr
.
0x25
*/
ldi
r18
,
lo8
(
799999
)
ldi
r19
,
hi8
(
799999
)
ldi
r25
,
hlo8
(
799999
)
1
:
subi
r18
,
1
sbci
r19
,
0
sbci
r25
,
0
brne
1
b
rjmp
.
nop
rjmp
.
L3
.
size
pruzzel
,
.
-
pruzzel
.
ident
"GCC: (GNU) 5.4.0"
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