Mercurial > public > hwos_code
comparison src/logbook.asm @ 417:e5a9c9f76315
minor
author | heinrichsweikamp |
---|---|
date | Mon, 18 Apr 2016 17:29:19 +0200 |
parents | a3a0f1fd7fc4 |
children | a5fc007634c5 |
comparison
equal
deleted
inserted
replaced
416:4389fe9673b2 | 417:e5a9c9f76315 |
---|---|
497 movff xC+0,y_scale+0 ; holds LOW byte of y-scale (mbar/pixel!) | 497 movff xC+0,y_scale+0 ; holds LOW byte of y-scale (mbar/pixel!) |
498 movff xC+1,y_scale+1 ; holds HIGH byte of y-scale (mbar/pixel!) | 498 movff xC+1,y_scale+1 ; holds HIGH byte of y-scale (mbar/pixel!) |
499 infsnz y_scale+0,F ; increase one, because there may be a remainder | 499 infsnz y_scale+0,F ; increase one, because there may be a remainder |
500 incf y_scale+1,F | 500 incf y_scale+1,F |
501 | 501 |
502 movlw LOW ((profile_height_pixels+1)*.1000) | 502 movlw LOW ((profile_height_pixels+1)*.1000) |
503 movwf xC+0 | 503 movwf xC+0 |
504 movlw HIGH (((profile_height_pixels+1)*.1000) & h'FFFF') | 504 movlw HIGH (((profile_height_pixels+1)*.1000) & h'FFFF') |
505 movwf xC+1 | 505 movwf xC+1 |
506 movlw UPPER ((profile_height_pixels+1)*.1000) | 506 movlw UPPER ((profile_height_pixels+1)*.1000) |
507 movwf xC+2 | 507 movwf xC+2 |