Advertisement
Guest User

Untitled

a guest
Nov 21st, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. ! 1
  2. ! 1 # 1 "test.c"
  3. ! 1 struct test{
  4. ! 2 int a;
  5. !BCC_EOS
  6. ! 3 int b;
  7. !BCC_EOS
  8. ! 4 };
  9. !BCC_EOS
  10. ! 5
  11. ! 6 int main()
  12. ! 7 {
  13. export _main
  14. _main:
  15. ! 8 struct test t;
  16. !BCC_EOS
  17. ! 9 t.a = 50;
  18. push bp
  19. mov bp,sp
  20. push di
  21. push si
  22. add sp,*-4
  23. ! Debug: eq int = const $32 to int t = [S+$A-$A] (used reg = )
  24. mov ax,*$32
  25. mov -8[bp],ax
  26. !BCC_EOS
  27. ! 10 t.b = 20;
  28. ! Debug: eq int = const $14 to int t = [S+$A-8] (used reg = )
  29. mov ax,*$14
  30. mov -6[bp],ax
  31. !BCC_EOS
  32. ! 11
  33. ! 12 }
  34. add sp,*4
  35. pop si
  36. pop di
  37. pop bp
  38. ret
  39. ! 13
  40. .data
  41. .bss
  42.  
  43. ! 0 errors detected
  44. ~
  45. ~
  46. ~
  47. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement