<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/asmx86.c, branch type_hints</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=type_hints</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=type_hints'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-02-24T12:10:20+00:00</updated>
<entry>
<title>py/asm*.c: Remove unnecessary check for num_locals&lt;0 in asm entry func.</title>
<updated>2018-02-24T12:10:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-02-24T12:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c0bcf00ed100181a532240d904395de11addcd33'/>
<id>urn:sha1:c0bcf00ed100181a532240d904395de11addcd33</id>
<content type='text'>
All callers of the asm entry function guarantee that num_locals&gt;=0, so no
need to add an explicit check for it.  Use an assertion instead.

Also, the signature of asm_x86_entry is changed to match the other asm
entry functions.
</content>
</entry>
<entry>
<title>all: Use the name MicroPython consistently in comments</title>
<updated>2017-07-31T08:35:40+00:00</updated>
<author>
<name>Alexander Steffen</name>
<email>devel.20.webmeister@spamgourmet.com</email>
</author>
<published>2017-06-30T07:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55f33240f3d7051d4213629e92437a36f1fac50e'/>
<id>urn:sha1:55f33240f3d7051d4213629e92437a36f1fac50e</id>
<content type='text'>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</content>
</entry>
<entry>
<title>py/asm: Fix x86 and ARM assemblers due to recent code refactoring.</title>
<updated>2016-12-09T11:54:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-09T11:54:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=93ee6603b1a18401ae2968ee8f3012fd8b36a78c'/>
<id>urn:sha1:93ee6603b1a18401ae2968ee8f3012fd8b36a78c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/asm: Remove need for dummy_data when doing initial assembler passes.</title>
<updated>2016-12-09T11:50:58+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-09T11:50:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=155fdc74d5864266441887d6c88111159f401a62'/>
<id>urn:sha1:155fdc74d5864266441887d6c88111159f401a62</id>
<content type='text'>
For all but the last pass the assembler only needs to count how much space
is needed for the machine code, it doesn't actually need to emit anything.
The dummy_data just uses unnecessary RAM and without it the code is not
any more complex (and code size does not increase for Thumb and Xtensa
archs).
</content>
</entry>
<entry>
<title>py: Factor out common code from assemblers into asmbase.[ch].</title>
<updated>2016-11-27T22:24:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-27T22:24:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=612599587bef71e1deca9a77a8e2e16e69b045de'/>
<id>urn:sha1:612599587bef71e1deca9a77a8e2e16e69b045de</id>
<content type='text'>
All assemblers should "derive" from mp_asm_base_t.
</content>
</entry>
<entry>
<title>py/asmx86: Fix function definition to use int32_t instead of int.</title>
<updated>2015-11-27T14:06:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T14:06:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0786716c5a9b352f24bb3e3386515ae3298942e7'/>
<id>urn:sha1:0786716c5a9b352f24bb3e3386515ae3298942e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Implement native multiply operation in viper emitter.</title>
<updated>2015-06-04T14:00:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-04T14:00:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=567b349c2b271c0f04add0f1beb36495835f66f8'/>
<id>urn:sha1:567b349c2b271c0f04add0f1beb36495835f66f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Implement full func arg passing for native emitter.</title>
<updated>2015-04-07T21:43:28+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-06T21:38:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9988618e0e0f5c319e31b135d993e22efb593093'/>
<id>urn:sha1:9988618e0e0f5c319e31b135d993e22efb593093</id>
<content type='text'>
This patch gets full function argument passing working with native
emitter.  Includes named args, keyword args, default args, var args
and var keyword args.  Fully Python compliant.

It reuses the bytecode mp_setup_code_state function to do all the hard
work.  This function is slightly adjusted to accommodate native calls,
and the native emitter is forced a bit to emit similar prelude and
code-info as bytecode.
</content>
</entry>
<entry>
<title>py/asm*.c: Typo fixes in comments.</title>
<updated>2015-02-13T18:20:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-02-13T18:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=089c3f321e1bfe86864b6d4b2ac91074ea282c54'/>
<id>urn:sha1:089c3f321e1bfe86864b6d4b2ac91074ea282c54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py, unix: Allow to compile with -Wunused-parameter.</title>
<updated>2015-01-20T12:47:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-20T12:47:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660'/>
<id>urn:sha1:ff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660</id>
<content type='text'>
See issue #699.
</content>
</entry>
</feed>
