mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
py: Add casting to viper; add native mem stores to viper.
Viper can now do the following:
def store(p:ptr8, c:int):
p[0] = c
This does a store of c to the memory pointed to by p using a machine
instructions inline in the code.
This commit is contained in:
@@ -77,6 +77,9 @@ Q(const)
|
||||
Q(native)
|
||||
Q(viper)
|
||||
Q(uint)
|
||||
Q(ptr)
|
||||
Q(ptr8)
|
||||
Q(ptr16)
|
||||
#endif
|
||||
|
||||
#if MICROPY_EMIT_INLINE_THUMB
|
||||
|
||||
Reference in New Issue
Block a user