home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Serving the Web
/
ServingTheWeb1995.disc1of1.iso
/
connect
/
tcpip
/
crynwr
/
exp16116
/
printea.asm
< prev
next >
Wrap
Assembly Source File
|
1992-08-04
|
290b
|
17 lines
public print_ether_addr
print_ether_addr:
mov cx,EADDR_LEN
print_ether_addr_0:
push cx
lodsb
mov cl,' ' ;Don't eliminate leading zeroes.
call byteout
pop cx
cmp cx,1
je print_ether_addr_1
mov al,':'
call chrout
print_ether_addr_1:
loop print_ether_addr_0
ret