3 # ___| | | ___| PS2DEV Open Source Project.
4 #----------------------------------------------------------
5 # (c) 2006 Eugene Plotnikov <e-plotnikov@operamail.com>
6 # Licenced under Academic Free License version 2.0
7 # Review ps2sdk README & LICENSE files for further details.
14 .globl inet_chksum_pseudo
218 andi $v0
, $t2
, 0xFFFF
220 andi $a0
, $t2
, 0xFFFF
223 andi $t8
, $v0
, 0xFFFF
232 andi $a3
, $a1
, 0xFFFF
247 andi $a1
, $a1
, 0xFFFF
251 andi $v0
, $v0
, 0xFFFF
259 andi $v0
, $v1
, 0xFFFF
277 addiu $s6
, $zero
, 6 #IP_PROTO_TCP
279 andi $s7
, $s7
, 0xFFFF #tot_len
285 move $a0
, $s0
#<-- payload
287 move $a1
, $s7
#<-- len
295 andi $v0
, $s1
, 0xFFFF
296 move $a0
, $s7
#<-- len
300 andi $t0
, $s1
, 0xFF00
309 andi $t4
, $s1
, 0xFF00
321 andi $v0
, $v1
, 0xFFFF
327 andi $s4
, $s5
, 0xFFFF
343 andi $s6
, $v0
, 0xFFFF
345 andi $v0
, $s7
, 0xFFFF