02h is a command for a single character output in assembly language
program:assume cs:code,ds:datacode segmentmov ax,datamov ds,axmov cl,countmov si,offset str1mov di,0003hback:mov al,[si]xchg [di],almov [si],alinc sidec didec cljnz backhltcode endsdata segmentstr1 db 01h,02h,03h,04hcount equ 02hdata endsendresult:input: str1 (ds:0000h) = 01h,02h,03h,04houtput: str1 (ds:0000h) = 04h,03h,02h,01h
Use the scanf() function from the C standard library.
The getchar() is used in 'C' programming language because it can read the character from the Standard input(i.e..from the user keyboard),and converts in to the ASCII value.
00h, 01h, 02h, 03h, 04h, 05h, 06h, 07h, 08h, 09h, 10h, 11h, 12h, 13h, 14h, 15h, 16h, 17h, 18h, 19h 20h
scanf() is an input function which reads input from the standard input devices such as keyboard. Syntax: scanf("Control Character",address_list); where control character is a sequence of one or more character such as %d,%f,%lf,%lld. Address list specifies the variables, pointers etc. e.g. scanf("%d",&num);
what are the four main parts of a keyboard and their function what are the four main parts of a keyboard and their function what are the four main parts of a keyboard and their function
a keyboard with functionality.
To type things
there are 12 basic function keys in a standard keyboard
To serve as a place to connect a keyboard or mouse.
To Type
To type things
To type things
IT IS A CHESSE CAKE ON THE KEYBOARD IT IS A CHESSE CAKE ON THE KEYBOARD no itz amandas feet on the keyboard
the keyboard enable the user to communicate with the computer through typying of(input of data).
function key
me dont no ! :DD