update arm
and small code changes from the fact that just loading a variable does not change status flags
This commit is contained in:
parent
bc3042a466
commit
0643b96641
@ -1,6 +1,6 @@
|
|||||||
GIT
|
GIT
|
||||||
remote: git://github.com/salama/salama-arm.git
|
remote: git://github.com/salama/salama-arm.git
|
||||||
revision: c711d34418f08bb2d7c5fea3cbe4149bdd22aa61
|
revision: 0a950de25a9d286fccf7d33834534a0c3a6d2682
|
||||||
specs:
|
specs:
|
||||||
salama-arm (0.3.0)
|
salama-arm (0.3.0)
|
||||||
|
|
||||||
|
@ -69,9 +69,8 @@ class Integer < Value
|
|||||||
tmp2 = me + tmp2
|
tmp2 = me + tmp2
|
||||||
|
|
||||||
tmp2 = tmp2 << 1
|
tmp2 = tmp2 << 1
|
||||||
minus_10 = tmp2 - minus_10
|
|
||||||
|
|
||||||
if_minus(minus_10)
|
if_minus(tmp2 - minus_10)
|
||||||
me = me + 1
|
me = me + 1
|
||||||
end
|
end
|
||||||
return me
|
return me
|
||||||
|
@ -8,7 +8,7 @@ class TestFunctions < MiniTest::Test
|
|||||||
class Object
|
class Object
|
||||||
|
|
||||||
int times(int a, int b)
|
int times(int a, int b)
|
||||||
if_zero( b )
|
if_zero( b + 0)
|
||||||
a = 0
|
a = 0
|
||||||
else
|
else
|
||||||
int m = b - 1
|
int m = b - 1
|
||||||
@ -29,7 +29,7 @@ class Object
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
HERE
|
HERE
|
||||||
@length = 483
|
@length = 505
|
||||||
check_return 80
|
check_return 80
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -41,6 +41,7 @@ HERE
|
|||||||
|
|
||||||
def connected
|
def connected
|
||||||
return @@conn if defined?(@@conn)
|
return @@conn if defined?(@@conn)
|
||||||
|
return @@conn = false
|
||||||
begin
|
begin
|
||||||
box = Rye::Box.new("localhost" , :port => 2222 , :user => "pi")
|
box = Rye::Box.new("localhost" , :port => 2222 , :user => "pi")
|
||||||
box.pwd
|
box.pwd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user