Hey there! Sign in to join this conversationNew here? Join for free
x Turn on thread page Beta
    • Thread Starter
    Offline

    2
    ReputationRep:
    (Sorry for my English)

    The formats of the instructions beq and subi:

    A) are identical and are divided into: 6 bits (operative code), 5 bits (1st source register), 5 bits (2nd source register), 16 bits (constant / address)

    B) are identical and are divided into: 6 bits (operative code), 5 bits (1st source register), 5 bits (2nd source register), 5 bits (assignment register), 5 bits (function)

    C) are different

    D) None of the previous answers
    Online

    21
    ReputationRep:
    (Original post by informatica)
    The formats of the instructions beq and subi:
    Think about what information each instruction needs, e.g. does beq assign to a register that needs to be specified?
    • Thread Starter
    Offline

    2
    ReputationRep:
    (Original post by RogerOxon)
    Think about what information each instruction needs, e.g. does beq assign to a register that needs to be specified?
    I don't know.
    Online

    21
    ReputationRep:
    (Original post by informatica)
    I don't know.
    Haven't you covered these mnemonics?

    'beq' is branch if equal. It will branch (i.e. adjust / set the program counter) if the equal flag is set.
    • Thread Starter
    Offline

    2
    ReputationRep:
    (Original post by RogerOxon)
    Haven't you covered these mnemonics?

    'beq' is branch if equal. It will branch (i.e. adjust / set the program counter) if the equal flag is set.
    So what's the answer?
    Online

    21
    ReputationRep:
    (Original post by informatica)
    So what's the answer?
    We don't give complete answers, but can give hints.

    What does subi do?
    Posted on the TSR App. Download from Apple or Google Play
 
 
 
Reply
Submit reply
Turn on thread page Beta
Updated: November 1, 2017
Poll
Do you like carrot cake?

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.