1
0
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:
julianb0 2019-06-02 11:01:33 +02:00
parent 2263a3f43d
commit c461b68247
No known key found for this signature in database
GPG Key ID: 9C7ACF0C053FB8A1
2 changed files with 1 additions and 4 deletions

View File

@ -10,7 +10,6 @@ v_print_max := 0xFF
; Print a string ; Print a string
; ;
print: print:
enter
mov rcx, v_print_max mov rcx, v_print_max
.1: .1:
@ -22,14 +21,12 @@ print:
loop .1 loop .1
.2: .2:
leave
ret ret
; ;
; Print exactly ax1 characters ; Print exactly ax1 characters
; ;
print_n: print_n:
enter
mov rcx, ax1 mov rcx, ax1
.1: .1:
@ -37,6 +34,5 @@ print_n:
inc ax0 inc ax0
loop .1 loop .1
leave
ret ret

View File

@ -56,3 +56,4 @@ strnzcpy:
.2: .2:
mov b[ax0], 0 mov b[ax0], 0
ret ret