Skip to content
Permalink
Browse files

formatting, comments

  • Loading branch information...
czhower committed Jun 5, 2019
1 parent 010c22c commit 6edc8078d6cf3b38000705f848267a5e06f55ea3
Showing with 15 additions and 15 deletions.
  1. +3 −3 ToDo.txt
  2. +12 −12 playground/DebugStub.xs
@@ -1,6 +1,9 @@
2019 Work Plan

-Finalize and complete all emitters
-Emit DS for input to Cosmos via Gen2
-.xs Colorizing
-Use same parser as we have now

-X#/ARM, X#/86

@@ -26,7 +29,6 @@
===========================================

VS Code
-.xs Colorizing
-.xs formatting

-DebugStub
@@ -77,8 +79,6 @@ pre/post directives, separate api than normal pre/post
-as namespaces - process for - ie Cosmos.directive
pre/post as plugins

-Emit into ONE .asm file. If output file is specified, all goes to one. Else does one .asm per .xs as now. Also append optino to existing .asm

Publicity
Docs, Videos, website, Microsoft, C9

@@ -26,24 +26,24 @@ var CommandID
// 1: x32 - EIP to break on, or 0 to disable breakpoint.
function BreakOnAddress {
+All
// BP Address
ComReadEAX()
ECX = EAX
// BP Address
ComReadEAX()
ECX = EAX

// BP ID Number
// BP ID Number is sent after BP Address, because
// reading BP address uses AL (EAX).
EAX = 0
ComReadAL()
// BP ID Number
// BP ID Number is sent after BP Address, because
// reading BP address uses AL (EAX).
EAX = 0
ComReadAL()

//Push EAX so we preserve it for later
//Push EAX so we preserve it for later
+EAX

// Calculate location in table
// Mov [EBX + EAX * 4], ECX would be better, but our X# doesn't handle this yet
// Mov [EBX + EAX * 4], ECX would be better, but our X# doesn't handle this yet
EBX = @.DebugBPs
EAX << 2
EBX += EAX
EAX << 2
EBX += EAX

if ECX = 0 {
//This is a BP removal

0 comments on commit 6edc807

Please sign in to comment.
You can’t perform that action at this time.