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

Proposal #36 - STA #41

Closed
wants to merge 6 commits into from
Closed

Commits on Aug 1, 2017

  1. Merge pull request #1 from francisrstokes/master

    Create CONTRIBUTING.md
    hlide committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    79d2b78 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from francisrstokes/master

    Updates
    hlide committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    2267ece View commit details
    Browse the repository at this point in the history
  3. # Proposal francisrstokes#33 (francisrstokes/16bitjs)

    ## Instruction MOV
    MOV is renamed as MVR and MOV, DEC, and INC become pseudos using MVR
    
    ### Before:
    |`MOV`| `D, S`          | `XXXXXXXXSSDD0000` | Move value at source register to destination register|
    
    ### After:
    |`MVR`| `D, S, V`          | `VVVVVVVVSSDD0000` | Add sign-extended immediate value to value at source register and move it to destination register|
    |`MOV`| `D, S`          | `00000000SSDD0000` | Move value at source register to destination register|
    |`INC`| `D`          | `00000001DDDD0000` | Increment value at destination register|
    |`DEC`| `D`          | `11111111DDDD0000` | Decrement value at destination register|
    
    Retro-compatibility is kept for assembly code, not for machine code.
    hlide committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    62bd6fa View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2017

  1. # Proposal francisrstokes#28 (francisrstokes/16bitjs)

    ## Instruction LDV
    LDV is renamed as MVV and LDV, MVI, ADI, MUI and AUI become pseudos using MVV
    
    ### Before:
    |LDV| D, V | VVVVVVVVVVDD0001 | Load a value into destination register.
    
    ### After:
    |LDV| D, V, O | VVVVVVVVOODD0001 | Load a value into destination register.
    |MVI| D, V | VVVVVVVV00DD0001 | Set a zero-extended lower byte to destination register.
    |ADI| D, V | VVVVVVVV01DD0001 | Set a zero-extended lower byte to destination register.
    |MUI| D, V | VVVVVVVV10DD0001 | Set a byte left shifted by 8 bits to destination register.
    |AUI| D, V | VVVVVVVV11DD0001 | Add a byte left shifted by 8 bits to destination register.
    
    Retro-compatibility is kept for assembly code, not for machine code.
    hlide committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    f555e07 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc2af66 View commit details
    Browse the repository at this point in the history
  3. Proposal francisrstokes#36 - STA

    - Previously LDM, renamed for STA  (STore at Address).
    - LDM kept as pseudo for retro-compatibility.
    hlide committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    1208a55 View commit details
    Browse the repository at this point in the history