Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

what does this code do?

Status
Not open for further replies.

ulot

New Member
HI, i'm a little confused, what exactly does this code do?
I know it tests bit zero of the status flag right? what is the implication of that on a system?


MOV A, STATUS
JNB ACC.0, NO_PWR
 
Hi, moves the value of the status register in to the accumulator and checks for the Parity bit, if it is low, it transfers execution to the subroutine NO_PWR.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top