Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias gas d0
- alias lcd d1
- alias flash d2
- alias heat d3
- alias cooler d4
-
- l r0 gas Temperature
- sub r2 r0 273.15
- trunc r1 r2
- s lcd Setting r1
- #branch to line b if a <= b
- ble r1 30 heaton
- #branch to line c if a > = b
- bge r1 40 heatoff
- #branch to line c if a > = b
- bge r1 42 cooleron
- #branch to line b if a <= b
- ble r1 28 cooleroff
- j 0
- heaton:
- s heat On 1
- yield
- j 0
- heatoff:
- s heat On 0
- yield
- j 0
- cooleron:
- s cooler On 1
- s flash On 1
- yield
- j 0
- cooleroff:
- s cooler On 0
- s flash On 0
- yield
- j 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement