2 .include "record-def.s"
9 .lcomm record_buffer, RECORD_SIZE
14 .equ ST_INPUT_DESCRIPTOR, -4
15 .equ ST_OUTPUT_DESCRIPTOR, -8
26 movl
%eax
, ST_INPUT_DESCRIPTOR
(%ebp
)
27 movl $STDOUT
, ST_OUTPUT_DESCRIPTOR
(%ebp
)
30 pushl ST_INPUT_DESCRIPTOR
(%ebp
)
34 cmpl $RECORD_SIZE
, %eax
37 pushl $RECORD_FIRSTNAME
+ record_buffer
42 movl ST_OUTPUT_DESCRIPTOR
(%ebp
), %ebx
44 movl $RECORD_FIRSTNAME
+ record_buffer
, %ecx
47 pushl ST_OUTPUT_DESCRIPTOR
(%ebp
)