about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
| * updated test so 'x' is relative to file-offset not segment offsetnc2019-07-111-3/+3
| |
| * made test 2 passnc2019-07-111-9/+11
| |
| * .Kartik Agaram2019-07-102-3/+7
| |
| * .Kartik Agaram2019-07-101-7/+7
| |
| * .Kartik Agaram2019-07-101-0/+2
| |
| * .Kartik Agaram2019-07-102-2/+2
| | | | | | | | I think we're calling the wrong variant here.
| * start distinguishing table lookups from insertsKartik Agaram2019-07-106-12/+382
| |
| * zero out new rows returned by get-or-insertKartik Agaram2019-07-1011-0/+103
| |
| * finally tracked down binary character in tracesKartik Agaram2019-07-101-1/+1
| | | | | | | | This was why grep required the `-a` argument in vimrc.vim.
| * .Kartik Agaram2019-07-107-5/+5
| | | | | | | | | | Another batch of incorrectly signed conditional jumps. (Follow-up to commit 5180.)
| * .Kartik Agaram2019-07-102-1/+1
| | | | | | | | Fix infinite loop in the 2 remaining failing tests; now it's a segfault.
| * .Kartik Agaram2019-07-102-8/+5
| |
| * .Kartik Agaram2019-07-091-37/+69
| |
| * mostly done with emit-outputKartik Agaram2019-07-096-6/+267
| | | | | | | | | | Some nooks and crannies will need light final debugging with xxd, but emit-hex-output covers most of the logic.
| * done with emit-segmentsKartik Agaram2019-07-092-33/+532
| | | | | | | | Only failures now are the first two tests in survey.subx.
| * bug: null address messing up instruction decodeKartik Agaram2019-07-091-2/+7
| | | | | | | | Leads to a bad error message.
| * .Kartik Agaram2019-07-092-7/+1
| | | | | | | | | | | | Stop dumping huge traces on error. We can always rerun with --trace. Though perhaps we should just dump the trace automatically on error. Not bothering thinking about that right now.
| * .Kartik Agaram2019-07-091-26/+26
| |
| * .Kartik Agaram2019-07-091-0/+1
| |
| * .Kartik Agaram2019-07-091-2/+2
| |
| * .Kartik Agaram2019-07-091-1/+1
| |
| * clean up after a few callsKartik Agaram2019-07-092-4/+9
| |
| * preserve truthiness of non-booleansKartik Agaram2019-07-092-16/+12
| | | | | | | | | | Everywhere we check if something is true, we check it by comparing against 0, not 1.
| * this looks like a bugKartik Agaram2019-07-092-1/+1
| | | | | | | | | | But of course the test is still infinite-looping so we can't be sure. I'm still just reading the code.
| * .Kartik Agaram2019-07-092-15/+4
| |
| * .Kartik Agaram2019-07-091-19/+17
| |
| * move 'segment-start' to a global variable as wellKartik Agaram2019-07-092-12/+10
| | | | | | | | | | It's ugly to have function locals in global variables, but we'll figure out later how to deal with it.
| * .Kartik Agaram2019-07-091-8/+0
| |
| * there's a variant of compute-width for slicesKartik Agaram2019-07-091-9/+5
| | | | | | | | | | Looks like the original compute-width is now dead. But still seems useful to have around.
| * there's a variant of get-or-insert for slicesKartik Agaram2019-07-092-27/+16
| | | | | | | | | | | | The compute-offsets test now goes into an infinite loop :( But I figure all these changes are useful anyway, we should just debug the error separately.
| * keep labels definitions on a separate lineKartik Agaram2019-07-091-6/+12
| | | | | | | | SubX in SubX doesn't support mixing labels with other stuff :)
| * switch to global HeapKartik Agaram2019-07-092-10/+5
| |
| * update library docsKartik Agaram2019-07-091-5/+13
| |
| * .Kartik Agaram2019-07-088-88/+88
| | | | | | | | | | Be more consistent about names of ends of a slice. (In the opposite direction compared to last night's 925fc490d2ce8b8d411de87bd0af5b3a8a704213.)
| * .Kartik Agaram2019-07-081-7/+4
| |
| * .Kartik Agaram2019-07-081-7/+6
| | | | | | | | minor style tweaks
| * colocate compute-offsets with its globalsKartik Agaram2019-07-082-9/+14
| |
| * pull a couple more functions into subx-commonKartik Agaram2019-07-086-989/+989
| |
| * .Kartik Agaram2019-07-089-80/+80
| | | | | | | | Be more consistent about names of ends of a slice.
| * .Kartik Agaram2019-07-0814-267/+389
| | | | | | | | | | | | Move test slice variables out of the data segment and close to their usages. Makes tests a little easier to read even if we spend a few more instructions each time.
| * .Kartik Agaram2019-07-081-3/+3
| |
| * .Kartik Agaram2019-07-081-5/+5
| |
| * preserve truthiness of non-booleansKartik Agaram2019-07-085-12/+12
| | | | | | | | | | Everywhere we check if something is true, we check it by comparing against 0, not 1.
| * .Kartik Agaram2019-07-084-6/+16
| | | | | | | | style tweaks
| * .Kartik Agaram2019-07-082-42/+5
| | | | | | | | DRY out compute-width and compute-width-from-slice.
| * .Kartik Agaram2019-07-081-60/+60
| | | | | | | | move a function around
| * .Kartik Agaram2019-07-081-15/+0
| | | | | | | | Delete some empty lines.
| * build `num-bytes`Kartik Agaram2019-07-073-2/+565
| |
| * .Kartik Agaram2019-07-074-246/+246
| | | | | | | | reorg in subx-common.subx
| * move `is-label?` to `subx-common`Kartik Agaram2019-07-0711-83/+83
| |
2'>1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170