Skip to content

Commit 3a761ad

Browse files
committed
left shift 32-bit
1 parent 4a0c230 commit 3a761ad

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/lsl4_r22_r30.S

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
; (c) Ralph Doncaster 2020
2+
; ArduinoShrink
3+
4+
; shift left r22-r25 (ulong), arg in r30
5+
.global lsl4_r22_r30
6+
lsl4_r22_r30:
7+
lsl r22
8+
rol r23
9+
rol r24
10+
rol r25
11+
dec r30
12+
brne lsl4_r22_r30
13+
ret
14+

0 commit comments

Comments
 (0)