A to Z Character printing in Intel 8086 microprocessor using CMP instruction CODE in description
In this video i tried to print characters starting from A to Z in Intel 8086 8bit microprocessor assembly language. The task i very simple and achieved by defining a 8bit variable and increasing it and lastly comparing it by Z character's ASCII (American Standard Code for Information Interchange) Code. for the next step i had to add new line but it cause problem so i had to add carriage return characters ASCII (American Standard Code for Information Interchange) code. code is very simple i used CMP, INC, JNG instructions to achieve the task.
[CODE]
TITLE DISPLAY
.MODEL SMALL
.STACK 100H
.DATA
CHAR DB 'A'
.CODE
MAIN:
MOV AX, @DATA
MOV DS, AX
AGAIN:
MOV DL, CHAR
MOV AH, 02H
INT 21H
MOV DL, 0AH
MOV AH, 02H
INT 21H
MOV DL, 0DH
MOV AH, 02H
INT 21H
INC CHAR
CMP CHAR, 5AH
JNG AGAIN
EXIT:
MOV AH, 04CH
INT 21H
END MAIN
[/CODE]
code can also be downloaded here https://engineering-lab.blogspot.com/2020/03/A-to-Z-Character-printing-in-Intel-8086-microprocessor-using-CMP-instruction.html
Видео A to Z Character printing in Intel 8086 microprocessor using CMP instruction CODE in description канала The Lame Programmer
[CODE]
TITLE DISPLAY
.MODEL SMALL
.STACK 100H
.DATA
CHAR DB 'A'
.CODE
MAIN:
MOV AX, @DATA
MOV DS, AX
AGAIN:
MOV DL, CHAR
MOV AH, 02H
INT 21H
MOV DL, 0AH
MOV AH, 02H
INT 21H
MOV DL, 0DH
MOV AH, 02H
INT 21H
INC CHAR
CMP CHAR, 5AH
JNG AGAIN
EXIT:
MOV AH, 04CH
INT 21H
END MAIN
[/CODE]
code can also be downloaded here https://engineering-lab.blogspot.com/2020/03/A-to-Z-Character-printing-in-Intel-8086-microprocessor-using-CMP-instruction.html
Видео A to Z Character printing in Intel 8086 microprocessor using CMP instruction CODE in description канала The Lame Programmer
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Python Learning | Digital Clock Project In Python and TkinterDigital Clock | Project | Python Programming #shortsArduino Uno | Max 7219 | DS3231 and Arduino Clock8086 ASSEMBLY | FINDING EVEN NUMBERS IN ELEMENTS OF ARRAYNested Loops | 8086 Assembly | Ascending Order in Assembly LanguageFinding Square of a Number In x86 Assembly LanguageSum of Series In x86 Assembly Language | emu8086How To Find String Length In x86 Assembly Language with Source CodeString Manipulation in 8086 Assembly Language | The Easy WayHow to check user input in 8086 Assembly language programming[Nested Loops Example] Display Pattern in 8086 Assembly Programming the easy way[MUL instruction] Single digit multiplication in Intel x86 microprocessor assembly languageToggling case of a character in Intel 8086 microprocessor assembly language programmingHomescapes Clearing Level 127 | How to play[TUTORIAL | HOW TO] Text Printing In Intel 8086 Microprocessor Assembly Using LEA InstructionSubtraction of two decimal digits in 8086 Microprocessor x86 Assembly Language Using SUB InstructionAddition to two digits in assembly with carry (Using AAA instruction)[TUTORIAL] Multi digit addition program in 8086 assembly | Easy MethodMultiplication Table printing in Intel 8086 Microprocessor x86 Assembly Language | Version 2x86 Assembly Hello World Print Any Text in Intel 8086 Microprocessor