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.

ASM help please

Status
Not open for further replies.

labrat31

New Member
I am new to programming I have only assembled and tested about 5 codes this is my biggest second biggest was computer serial to 8051 to p2.
trying to get this i2c program I found to assemble so I can simulate it and go throu it step by step to see how it works but I cant assemble, the 2 problems are:

; Data storage locations
BitCnt DATA 8h ;Bit counter for I2C routines.. . . . . . . error illegal opcode
NoAck BIT Flags.0 ;I2C no acknowledge flag.. . . . . . . . . error illegal Value
For more of an explanation see .asm

thank you
 

Attachments

  • I2CBITS 3.asm
    10 KB · Views: 248
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top