Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some minor updates #859

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Some minor updates #859

wants to merge 3 commits into from

Conversation

qbzzt
Copy link

@qbzzt qbzzt commented May 1, 2022

  1. Added the missing two CALL opcodes in section 9.2
  2. Updated the memory expansion cost
  3. Fixed the initial value in (142)

All CALLs caused a subordinate message call.
The cost of memory expansion is not always proportional to the memory used. For memories above 704 bytes, it approximates the square of the memory used (see eq. 326).
See 2nd paragraph in section 9.4.
@@ -1076,7 +1076,7 @@ \subsection{Execution Overview}
\boldsymbol{\mu}_{\mathbf{m}} & \equiv & (0, 0, ...) \\
\boldsymbol{\mu}_{\mathrm{i}} & \equiv & 0 \\
\boldsymbol{\mu}_{\mathbf{s}} & \equiv & () \\
\boldsymbol{\mu}_{\mathbf{o}} & \equiv & ()
\boldsymbol{\mu}_{\mathbf{o}} & \equiv & $\varnothing$ \\
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μo is different from o. The second paragraph of section 9.4 refers to o, not μo. The latter is the output substate of machine state μ and thus should be initialized with an empty sequence, not ∅.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants