Skip to content

Commit

Permalink
Znak se ispisuje na pritisak gumba
Browse files Browse the repository at this point in the history
  • Loading branch information
mlazaric committed May 17, 2018
1 parent 26bcdec commit ff08f7f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lcd_text_editor.a
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ SW_MODE_00 CMP R6, %B 1000 ;mode za znakove i unos
;CALL

CMP R6, %B 0001
CALL_EQ CRTAJ_ZNAK
CALL_EQ ISPISI_ZNAK

JR END_UPDATE

Expand Down Expand Up @@ -607,7 +607,7 @@ SW_MODE_11 CMP R6, %B 1000 ;mode za scale i orijentaciju(pozitivni/negativni

JR END_UPDATE

END_UPDATE CALL ISPISI_ZNAK
END_UPDATE

JR GLAVNA_PETLJA
;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -781,9 +781,6 @@ ZOVI_RESET PUSH R0 ;resetira poziciju na 0,0, scale i znak i SKAČE na RE
POP R0
JR RESET_LCD
;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CRTAJ_ZNAK ;crta znak na zaslon na pritisak gumba, nije UI!
RET
;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BUFFER_ZNAK ;učitava znak iz memorije u buffer
PUSH R0
PUSH R1
Expand Down

0 comments on commit ff08f7f

Please sign in to comment.