Featured Post

High CMRR Instrumentation Amplifier (Schematic and Layout) design for biomedical applications

Instrumentation amplifiers are intended to be used whenever acquisition of a useful signal is difficult. IA’s must have extremely high input impedances because source impedances may be high and/or unbalanced. bias and offset currents are low and relatively stable so that the source impedance need not be constant. Balanced differential inputs are provided so that the signal source may be referenced to any reasonable level independent of the IA output load reference. Common mode rejection, a measure of input balance, is very high so that noise pickup and ground drops, characteristic of remote sensor applications, are minimized.Care is taken to provide high, well characterized stability of critical parameters under varying conditions, such as changing temperatures and supply voltages. Finally, all components that are critical to the performance of the IA are internal to the device. The precision of an IA is provided at the expense of flexibility. By committing to the one specific task of

Byte and word data transfer in different addressing modes

DATA SEGMENT
DATA1 DB 23H
DATA2 DW 1234H
DATA3 DB 0H DATA4
DW 0H
DATA5 DW 2345H,6789H
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START: MOV AX,DATA   ;Initialize DS to point to start of the memory
MOV DS,AX                  ;set aside for storing of data
MOV AL,25X             ;copy 25H into 8 bit AL register
MOV AX,2345H          ;copy 2345H into 16 bit AX register
MOV BX,AX           ;copy the content of AX into BX register(16 bit)
MOV CL,AL              ;copy the content of AL into CL register
MOV AL,DATA1        ;copies the byte contents of data segment
                                   ;location DATA1 into 8 bit AL
MOV AX,DATA2       ;copies the word contents of data segment memory
                                  ;location DATA2 into 16 bit AX
MOV DATA3,AL          ;copies the AL content into the byte contents of data
                                   ;segment memory location DATA3
MOV DATA4,AX      ;copies the AX content into the word contents of
                                ;data segment memory location DATA4
MOV BX,OFFSET DATA5       ;The 16 bit offset address of DS memeory location
                                           ; DATA5 is copied into BX
MOV AX,[BX]         ; copies the word content of data segment
                                 ;memory location addressed by BX into
                               ;AX(register indirect addressing)
MOV DI,02H                ;address element
MOV AX,[BX+DI}        ; copies the word content of data segment
                               ;memory location addressed by BX+DI into
                                 ;AX(base plus indirect addressing)
MOV AX,[BX+0002H]  ; copies the word content of data segment
                                     ;memory location addressed by BX+0002H into
                                        ;(16 bit)
MOV AL,[DI+2]                                ;register relative addressing
MOV AX,[BX+DI+0002H]                ;copies the word content of data segmen
                                                          ;memory location addressed by BX+DI+0002H
                                                         ;into AX(16 bit)
MOV AH,4CH                 ; Exit to DOS with function call 4CH INT
21H
CODE ENDS                     ; Assembler stop reading
END START