mirror of
https://github.com/Noratrieb/asm-coreutils.git
synced 2026-01-14 17:55:03 +01:00
improve cat
This commit is contained in:
parent
8f11e29e77
commit
2f2d702f37
1 changed files with 0 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
extern open_file_arg
|
extern open_file_arg
|
||||||
extern println_num
|
|
||||||
|
|
||||||
global _start
|
global _start
|
||||||
|
|
||||||
|
|
@ -48,9 +47,6 @@ process:
|
||||||
|
|
||||||
cmp rax, 0
|
cmp rax, 0
|
||||||
jz finish
|
jz finish
|
||||||
|
|
||||||
; test whether there was an error
|
|
||||||
cmp rax, 0
|
|
||||||
jl failed_to_read
|
jl failed_to_read
|
||||||
|
|
||||||
; write to the file
|
; write to the file
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue