How to compare values for equality by subtraction (SUBWF and STATUS Z) | PIC assembly programming

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 6

  • @rhunllwyd9175
    @rhunllwyd9175 2 роки тому +2

    Looking at bit 0 in the STATUS will tell you if the answer is negative or not. Great for checking if the values are greater or less than each other. A useful analogue input comparator.

  • @MahatmaMichael
    @MahatmaMichael 2 роки тому +3

    Thank you for reminding me about mplab simulation. Now I need to set up counting 16 bit numbers in two 8 bit bytes and compare it in pic18f4431

  • @MahatmaMichael
    @MahatmaMichael 2 роки тому +1

    Hello from another pic assembler enthusiast.

  • @romancharak3675
    @romancharak3675 2 роки тому +1

    Great stuff, Thank you!

  • @JayJay-ki4mi
    @JayJay-ki4mi 6 місяців тому

    My volume is full and I can hardly hear you!