mirror of
https://github.com/pkivolowitz/asm_book.git
synced 2026-06-22 05:56:48 +08:00
Update README.md
This commit is contained in:
parent
c1a456e2dd
commit
c0872114af
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,6 @@ The next set of assembly language corresponds to the flow chart on the right, ab
|
||||||
add x0, x0, 1 // 10
|
add x0, x0, 1 // 10
|
||||||
2: cmp x0, 10 // 11
|
2: cmp x0, 10 // 11
|
||||||
blt 1b // 12
|
blt 1b // 12
|
||||||
// 13
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Notice this contains one fewer lines of assembly language within the loop itself (3 lines versus 4). Again, the contents of the code block are not counted.
|
Notice this contains one fewer lines of assembly language within the loop itself (3 lines versus 4). Again, the contents of the code block are not counted.
|
||||||
|
|
@ -87,6 +86,7 @@ for (long i = 0; i < 10; i++) {
|
||||||
continue;
|
continue;
|
||||||
// CODE BLOCK "B"
|
// CODE BLOCK "B"
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Here is what we would need to write to support a `continue` if the "conventional" ordering were used with the decision evaluation at the top:
|
Here is what we would need to write to support a `continue` if the "conventional" ordering were used with the decision evaluation at the top:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue