فهرست منبع

Basic support for debugging G programs.

Giovanni Mascellani 5 سال پیش
والد
کامیت
ec0199a8b3
1فایلهای تغییر یافته به همراه12 افزوده شده و 0 حذف شده
  1. 12 0
      asmg/asmg.asm

+ 12 - 0
asmg/asmg.asm

@@ -574,6 +574,18 @@ get_token_end:
   add ecx, eax
   mov BYTE [ecx], 0
 
+  ;; ;; Log token
+  ;; push eax
+  ;; push eax
+  ;; push 1
+  ;; call platform_log
+  ;; add esp, 8
+  ;; push 32
+  ;; push 1
+  ;; call platform_write_char
+  ;; add esp, 8
+  ;; pop eax
+
   pop ebx
   ret