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
|
||||
remote: git://github.com/salama/salama-arm.git
|
||||
revision: c711d34418f08bb2d7c5fea3cbe4149bdd22aa61
|
||||
revision: 0a950de25a9d286fccf7d33834534a0c3a6d2682
|
||||
specs:
|
||||
salama-arm (0.3.0)
|
||||
|
||||
|
@ -69,9 +69,8 @@ class Integer < Value
|
||||
tmp2 = me + tmp2
|
||||
|
||||
tmp2 = tmp2 << 1
|
||||
minus_10 = tmp2 - minus_10
|
||||
|
||||
if_minus(minus_10)
|
||||
if_minus(tmp2 - minus_10)
|
||||
me = me + 1
|
||||
end
|
||||
return me
|
||||
|
@ -8,7 +8,7 @@ class TestFunctions < MiniTest::Test
|
||||
class Object
|
||||
|
||||
int times(int a, int b)
|
||||
if_zero( b )
|
||||
if_zero( b + 0)
|
||||
a = 0
|
||||
else
|
||||
int m = b - 1
|
||||
@ -29,7 +29,7 @@ class Object
|
||||
end
|
||||
end
|
||||
HERE
|
||||
@length = 483
|
||||
@length = 505
|
||||
check_return 80
|
||||
end
|
||||
|
||||
|
@ -41,6 +41,7 @@ HERE
|
||||
|
||||
def connected
|
||||
return @@conn if defined?(@@conn)
|
||||
return @@conn = false
|
||||
begin
|
||||
box = Rye::Box.new("localhost" , :port => 2222 , :user => "pi")
|
||||
box.pwd
|
||||
|
Loading…
x
Reference in New Issue
Block a user