Guest User

Untitled

a guest
Jan 11th, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. mov.w @(h'C4,pc), r0 ; [00047694] = h'FFFFAB8A
  2. mov.b @r0, r0
  3. tst #h'80, r0 ;decide whether target or cold AFR map is used?
  4. bf/s loc_475EC
  5. add #4, r15
  6. mov.l @(h'14,r15), r1
  7. mov.w @(h'B2,pc), r3 ; [0004768E] = h'FFFF85EA
  8. mov.l r1, @-r15
  9. mov.l @(h'C4,pc), r6 ; [000476A4] = h'7D46 ;axis 2??
  10. mov.l @(h'C8,pc), r5 ; [000476A8] = h'7D22 ;axis 1??
  11. mov.l @(h'CC,pc), r4 ; [000476B0] = h'6D25 ;normal AFR table;
  12. mov.w @(h'AA,pc), r2 ; [00047690] = h'4F54 ;sub_4F54 is another table reader
  13. jsr @r2 ; sub_4F54 ;probably with interpolation, too
  14. mov.b @r3, r7
  15. bra loc_475FE ;skip to next part
  16. nop
  17.  
  18. loc_475EC: ;get AFR from cold map ?
  19. mov.l @(h'14,r15), r1
  20. mov.l r1, @-r15
  21. mov.w @(h'9A,pc), r3 ; [0004768E] = h'FFFF85EA
  22. mov.l @(h'B0,pc), r6 ; [000476A4] = h'7D46 ;uses same axes as table 6D25
  23. mov.l @(h'B0,pc), r5 ; [000476A8] = h'7D22
  24. mov.l @(h'BC,pc), r4 ; [000476B4] = h'6E25 ;cold AFR?
  25. mov.w @(h'94,pc), r2 ; [00047690] = h'4F54
  26. jsr @r2 ; sub_4F54
  27. mov.b @r3, r7
  28.  
  29. loc_475FE: ;both branches meet here and continue
Advertisement
Add Comment
Please, Sign In to add comment