dd5d7c86d2
This can be enforced by pre-commit, but correct it separately to make it easier to review.
11 lines
157 B
Python
11 lines
157 B
Python
@micropython.asm_thumb
|
|
def getIPSR():
|
|
mrs(r0, IPSR)
|
|
|
|
@micropython.asm_thumb
|
|
def getBASEPRI():
|
|
mrs(r0, BASEPRI)
|
|
|
|
print(getBASEPRI())
|
|
print(getIPSR())
|