mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
useless leaves/enters
This commit is contained in:
parent
2263a3f43d
commit
c461b68247
@ -10,7 +10,6 @@ v_print_max := 0xFF
|
||||
; Print a string
|
||||
;
|
||||
print:
|
||||
enter
|
||||
mov rcx, v_print_max
|
||||
|
||||
.1:
|
||||
@ -22,14 +21,12 @@ print:
|
||||
loop .1
|
||||
|
||||
.2:
|
||||
leave
|
||||
ret
|
||||
|
||||
;
|
||||
; Print exactly ax1 characters
|
||||
;
|
||||
print_n:
|
||||
enter
|
||||
mov rcx, ax1
|
||||
|
||||
.1:
|
||||
@ -37,6 +34,5 @@ print_n:
|
||||
inc ax0
|
||||
loop .1
|
||||
|
||||
leave
|
||||
ret
|
||||
|
||||
|
@ -56,3 +56,4 @@ strnzcpy:
|
||||
.2:
|
||||
mov b[ax0], 0
|
||||
ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user