Aim
To write a 8085 Microprocessor Assembly language Program To ?Generate Different Type Of Wave Forms ( Square Wave )
Program
| Address | Mnemonics | Opcode | LSB | MSB | Comments |
| 2000 | MVI A,80 | 3E | 80 | Move 80 to A | |
| 2002 | OUT 03 | D3 | 03 | Out the port | |
| 2004 | MVI A,00 | 3E | 00 | Move 00 to A | |
| 2006 | OUT 00 | D3 | 00 | Out the port | |
| 2008 | CALL 2016 | CD | 16 | 20 | Call delay |
| 200B | MVI A,FF | 3E | FF | Move FF to A | |
| 200D | OUT 00 | D3 | 00 | Out the port | |
| 200F | CALL 2016 | CD | 16 | 20 | Call delay |
| 2012 | JUMP 2004 | C3 | 04 | Jump to 2004 | |
| 2015 | MVI E,0A | 1E | 0A | Move 0A to E | |
| 2017 | MVI D,0A | 16 | 0A | Move 0A to D |
Why have you called 2016...no delay subroutine there...
ReplyDeletethe program is not complete
ReplyDelete