circuitpython/tests/inlineasm/asmpushpop.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
128 B
Python
Raw Normal View History

@micropython.asm_thumb
def f(r0, r1, r2):
push({r0})
push({r1, r2})
pop({r0})
pop({r1, r2})
2021-03-15 09:57:36 -04:00
print(f(0, 1, 2))