1.1 --- a/lib/builtins.py Tue Aug 30 23:38:04 2011 +0200
1.2 +++ b/lib/builtins.py Thu Sep 01 00:35:47 2011 +0200
1.3 @@ -794,7 +794,7 @@
1.4 #StopIteration
1.5 TypeError
1.6
1.7 -#bool
1.8 +bool
1.9 #ellipsis
1.10 #list
1.11 tuple
2.1 --- a/micropython/__init__.py Tue Aug 30 23:38:04 2011 +0200
2.2 +++ b/micropython/__init__.py Thu Sep 01 00:35:47 2011 +0200
2.3 @@ -349,7 +349,7 @@
2.4 }
2.5
2.6 names_always_used = [
2.7 - "bool", "__call__"
2.8 + "__call__"
2.9 ]
2.10
2.11 def __init__(self, path=None, verbose=0, optimisations=None):
3.1 --- a/micropython/rsvp.py Tue Aug 30 23:38:04 2011 +0200
3.2 +++ b/micropython/rsvp.py Thu Sep 01 00:35:47 2011 +0200
3.3 @@ -428,6 +428,18 @@
3.4 "Transfer a register's contents into another."
3.5 cost = 1
3.6
3.7 +class LoadMemory(Instruction):
3.8 + "Load a value from a memory address given by a register, optionally adding the operand."
3.9 + cost = 1
3.10 +
3.11 +class Add(Instruction):
3.12 + "Add the value given by the working register to the operand."
3.13 + cost = 1
3.14 +
3.15 +class Multiply(Instruction):
3.16 + "Multiply the value given by the working register by the operand."
3.17 + cost = 1
3.18 +
3.19 # Access to stored constant data.
3.20
3.21 class LoadConst(Address):