Easy and Human Readable Machine Code – Motor Automation Assembly

;** ********************************************************
;** TITLE : Warrior 2011
;** DATE : 14 FEBRUARY 2011
;**
;** P1.0 : PUMP-1 STATUS
;** P1.1 : FULL TANK-1
;** P1.2 : NORMAL TANK-1
;** P1.3 : RESERVE TANK-1
;**
;** P1.4 : PUMP-2 STATUS
;** P1.5 : FULL TANK-2
;** P1.6 : NORMAL TANK-3
;** P1.7 : RESERVE TANK-3
;**
;** ACC (A) IS KEY POINT TO MAKE DECISION
;** ************************************************************
;** DEVICE : ATMEL MICROCONTROLER 8051 (AT89C51) OR (AT89S51)
;** AURTHOR : SAHARA FOUNDATION – RAJENDRA MAN BANEPALI
;** ************************************************************
;**
;** DESCRIPTION: THE DEVICE IS USED TO AUTOMATE TWO WATER PUMPS
;** ************************************************************
Continue reading “Easy and Human Readable Machine Code – Motor Automation Assembly”

Addition in Assembly

;** Add PROGRAMME ON ASSEMBLY
;** DATE: 11 FEBRUARY 2011
;** OBJECTIVE: USE OF REGISTER AND ACCUMULATOR WITH ADD
;** AURTHOR: SAHARA FOUNDATION – RAJENDRA MAN BANEPALI

ORG 0000H

MOV R5, #25
MOV R7, #34H
MOV A, #0
ADD A, R5 ;** ASSIGNING ACCUMULATOR BY VALUE OF R5 = A = A + 25
ADD A, R7 ;** ADDING VALUE OF A + R7 AND ASSIGN TO ACCUMULATOR *A
ADD A, #12H

HERE: SJMP HERE

END

ISP Flash Microcontroller Programmer

Introduction
This ISP Programmer can be used either for in-system programming or as a stand-alone spi programmer for Atmel ISP programmable devices. The programming interface is compatible to STK200 ISP programmer hardware so the users of STK200 can also use the software which can program both the 8051 and AVR series devices.

Download:
Document: ISP Flash Microcontroller Programmer
Software: ISP-Flash Programmer Software ISP-30a.zip
or
Download alternate link
Note: Alter downloading the file, please change the extension of the file. into “zip” extension.

7 Segment Assembly Code

;** ********************************************************
;** SEVEN SEGMENT LED
;** DATE: 14 FEBRUARY 2011
;** R1 IS USED TO SET VALUE OF 1-DIGITAL DISPLAY VALUE OF SEVEN SEGMENT
;** P1 IS OUT PUT OF SEVEN SEGMENT
;** R7-R6-R5 IS USED FOR DELAY
;** ********************************************************
;** DEVICE : INTEL MICROCONTROLER 8051 (809C51)
;** AURTHOR : SAHARA FOUNDATION – RAJENDRA MAN BANEPALI
;** ********************************************************
; Continue reading “7 Segment Assembly Code”

Microcontroller

A microcontroller (sometimes abbreviated µC, uC or MCU) is a small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals. Program memory in the form of NOR flash or OTP ROM is also often included on chip, as well as a typically small amount of RAM. Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications.

Microcontrollers are used in automatically controlled products and devices, such as automobile engine control systems, implantable medical devices, remote controls, office machines, appliances, power tools, and toys. By reducing the size and cost compared to a design that uses a separate microprocessor, memory, and input/output devices, microcontrollers make it economical to digitally control even more devices and processes. Mixed signal microcontrollers are common, integrating analog components needed to control non-digital electronic systems. Continue reading “Microcontroller”