Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Problem with NIOS

I don't know operation

Ex:

Kiem_tra_N_va_Xuat_LED:

call CheckN1

call CheckN2

call CheckN3

call Check3N

call OutLED

br -44

Why br -44 ?????

Thank you everyone. Thank you very much

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You might need to give a little more context!

    Also enclose program text inside 'CODE' tags (# on 'advanded' window) to keep indentation.

    I'd guess that is a bit of assembler listing output?

    'br -44' is an unconditional jump, offset is from the following instruction.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    You might need to give a little more context!

    Also enclose program text inside 'CODE' tags (# on 'advanded' window) to keep indentation.

    I'd guess that is a bit of assembler listing output?

    'br -44' is an unconditional jump, offset is from the following instruction.

    --- Quote End ---

    Why "-44"? Why don't we use "-48","-40" or "40", "48"

    Thank you!