about summary refs log tree commit diff stats
path: root/subx/014indirect_addressing.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-22 18:07:51 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-22 18:07:51 -0700
commit7397dc2ad38db16c88344adc18a8b5381b9cd933 (patch)
tree3129017aeb49257d3bfaccf864c4d5ad6ee4199c /subx/014indirect_addressing.cc
parent372ec293670aded06f77f77fe836b279be31abfb (diff)
downloadmu-7397dc2ad38db16c88344adc18a8b5381b9cd933.tar.gz
5451
Even though the standard library is building and passing tests, the
binaries it generates aren't exactly bit for bit identical with the
originals. Comparing using `diff_ntranslate`, it looks like the data
segment starting address isn't computed right in survey.subx
(`compute-addresses`) when I start translating layer 058. Deleting some
tests brings the code segment to a p_offset where bits 8-11 (the lowest
4 bits excluding the lowermost byte) are cleared and everything works.
However, if bits 8-11 are set, then they don't make it to p_vaddr and
p_paddr.

Tried reproducing with a unit test, but the unit test passes fine.
Diffstat (limited to 'subx/014indirect_addressing.cc')
0 files changed, 0 insertions, 0 deletions
f='#n129'>129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192