Answer:
can u give me more details so that I can help u
Answer:
oid changeCase (char char_array[], int array_size ) {
__asm{
mov eax, char_array;
mov edi, 0;
readArray:
cmp edi, array_size;
jge exit;
mov ebx, edi;
shl ebx, 2;
mov cl, [eax + ebx];
check:
//working on it
cmp cl, 0x41;
jl next_indx;
cmp cl, 0x7A;
jg next_indx;
cmp cl, 'a';
jl convert_down;
jge convert_up;
convert_down:
or cl, 0x20; //make it lowercase
jmp write;
convert_up:
and cl, 0x20;
jmp write;
write:
mov byte ptr [eax + ebx], cl
next_indx:
inc edi;
exit:
cmp edi, array_size;
jl readArray;
mov char_array, eax;
}
}
Explanation:
- Move char_array to eax as it is base image
.
- Use ebx as offset
.
- Use ecx as the storage register
.
- check if cl is <= than ASCII value 65 (A)
.
Explanation:
Computer is an electronic device that is designed to work with information.
WORKING PRINCIPLE OF COMPUTER
a.It accepts data and instructions by way of input,
b.It stores data,
c.It can process data as required by the user,
d.It gives result in the form of output,
e.It controls all operations inside a computer.
I hope it will help you
1. A. It is basically the definition of a political cartoon.
2. D. They used newspaper, protesting, and marches.
<span />