Skip to content

Comments

Convert to Python 3#24

Closed
philippechataignon wants to merge 5 commits intojtauber:masterfrom
philippechataignon:pr2
Closed

Convert to Python 3#24
philippechataignon wants to merge 5 commits intojtauber:masterfrom
philippechataignon:pr2

Conversation

@philippechataignon
Copy link

The PR is a conversion to Python 3. It includes PR #22 for using tests and fixes a bug in BRK instruction : B status flag must be set BEFORE pushing on stack.

Closes #23

philippechataignon and others added 5 commits November 24, 2021 13:08
- CPU options were only used to pass 'pc'. Rather than adding another
  get_options/Options to tests,py, replacing options with a pc argument
  removes CPU's dependency on command-line options.

- As a workaround for 'Address already in use', control_server is now
  enabled/disabled by memory.use_bus (which is False in unit tests).
Float division in python3 -> force integer division with //
Remaining BaseHTTPServer instead of http.server
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.

Convert to Python 3

2 participants