Skip to content

Commit

Permalink
Merge pull request #170 from cmsc430/next
Browse files Browse the repository at this point in the history
Bug fix a86 notes.
  • Loading branch information
dvanhorn authored Feb 13, 2024
2 parents 14de1a7 + 308e99d commit 0712c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/notes/a86.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ Each register plays the same role as in x86, so for example
Move from @racket[src] to @racket[dst] if the zero flag is set.

Note that the semantics for conditional moves is not what many people expect.
The @dst[src] is @emph{always} read, regardless of the condition's evaluation.
The @racket[src] is @emph{always} read, regardless of the condition's evaluation.
This means that if your source is illegal (such as an offset beyond the bounds
of memory allocated to the current process), a segmentation fault will arise
even if the condition ``should have'' prevented the error.
Expand Down

0 comments on commit 0712c7c

Please sign in to comment.