Sean
Sean
https://developer.arm.com/documentation/dui0473/m/writing-arm-assembly-language/assembly-language-changes-after-rvct-v2-1?lang=en
These should work in Thumb: ``` strx r0, [sp, #S.foo] strx r0, [sp] (S.foo) ldrx r0, [sp, #S.foo] ldrx r0, [sp] (S.foo) ```
Word on discord is you can perform a mov in thumb on low registers without setting status. They claim it's undocumented. I should verify this on real hardware and, assuming...
``` var a = {} a[num.nan] ``` shouldn't throw
``` def foo end include 'foo.sink' ``` This is due to missing `st.names = null` here: https://github.com/velipso/sink/blob/master/src/sink.ts#L3456
This fails: ``` def test return 5 end for: range test say 'yo' end ``` Should say 'yo' 5 times, but instead errors with: > Cannot use non-variable in for...
This should work: ``` var a = {} list.push a, 1, 2, 3 list.unshift a, 4, 5, 6 say a # {4, 5, 6, 1, 2, 3} ```
I'd like to do something like this: ``` enum A, B, C var data = { [A]: 1, [B]: 2, [C]: 3 } ``` Maybe even: ``` enum user.NAME, user.AGE...
Seems like this should work: ``` 1: 0 0 2: 00 Error: 2:1: Invalid call ``` ???
This should work: ``` var points = {{100, 50}, {20, 30}} for var {x, y}: points say "x: $x, y: $y" end ```