discovery-unicamp / ale-exercise-book

ALE Exercise Book: A set of exercises to support professors and students in the assembly language learning process
2 stars 1 forks source link

Inconsistent memory display #2

Closed yh36 closed 1 month ago

yh36 commented 2 months ago

When using disass command to dump memory content, each row normally displays two bytes. But I saw this exception which displays four bytes. Is this a known issue? As each row only dumps two bytes, can we just display four hex digits instead of eight digits, which is hard to read? image

There is another typo on Chapter 6 and Chapter 6.1.

  1. What does & mean here? image
  2. Do you mean exercise 3.1 image
SerodioJ commented 2 months ago

Hi Yi Hou,

Thanks for pointing out these typos. The first should be 7 instead of &. I will be fixing them in the next version of the book.

Regarding the disass command, we weren't aware of this issue. In this case the simulator is a WebAssembly artifact, that has been compiled from the VeeR-ISS simulator, so I believe it might be an issue with the original simulator. The same thing is valid for the way the hex values are being displayed.

SerodioJ commented 1 month ago

The disass command issue is related to the VeeR-ISS simulator, and the typos have been fixed, so I will close this issue.