rdnelson / Libra

An 8086 emulator with a focus on educational features.
Other
13 stars 4 forks source link

[BP+SI] and [BP+DI] cannot be used for based register indirect addressing. #198

Closed MichaelDysart closed 7 years ago

MichaelDysart commented 7 years ago

The registers [BP+SI] and [BP+DI] should be acceptable for based register indirect addressing mode.

However, using them in an instructions (for example, mov CX, [BX + SI]) produces an undefined label assembly error.

I have attached a .txt file with the code that generates the error.

BasedIndexingModeError.txt

rdnelson commented 7 years ago

Is this a assembly time error?

MichaelDysart commented 7 years ago

Yes

rdnelson commented 7 years ago

The assembler is actually hosted in a different project at https://github.com/hasithvm/lasm Can you file the issue there?

MichaelDysart commented 7 years ago

My mistake. I will re-submit the error. Sorry for the inconvenience.

rdnelson commented 7 years ago

No worries, it's nice to see people still filing bugs!