Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jackieooh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
jackieooh
3y ago
Problem is that some registers have non-zero default values (swd debug pin functions for example) so the set() function would still need to do a read modify write operation which isn't the theoretically optimal code gen.
2.
▲
by
jackieooh
3y ago
I'd probably write a quick python script to generate a function/string table in that case (or I could even do it with a vim macro).