Answer: ORG $3000 tell us that we want to load the program from the address $3000.
LDAA #$C2 tell us to load the value contained in the address present in the register C2 into the accumulator.
Explanation:
ORG instruction in microprocessor does not have a fixed address. It tell us where to begin the execution of the program by loading into a starting address space. It does not uses fixed addressing
LDAA instruction uses indirect addressing by placing the value from the address present in the register. Here the address is contained in register C2.
Answer:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
int arr[100];
int i = 0;
int j = 0;
char c[10];
char temp;
int sum = 0;
FILE* fp;
if ((fp = fopen("test.txt", "r")) == NULL) {
printf("cannot open the file");
return;
}
else {
do {
temp = fgetc(fp);
if (temp == ' ' || temp == '\n') {
c[j] = '\0';
arr[i++] = atoi(c);
j = 0;
continue;
}
c[j++] = temp;
} while (temp != EOF);
for (j = i - 1; j >= 0; j--) {
printf("%d\n", arr[j]);
}
}
getchar();
}
Explanation:
Answer:
The Correct syntax for inserting an image as hyperlink is given in explanation section
Explanation:
To make an image act as a hyperlink, place the image element within the HTML anchor "<a></a>" element.
The syntax of inserting image hyperlink in XHTML is given below.
<a href = "link_that_can_be_accessible"><img src="source of image" alt="display name if image not shown in the browser" border="0"/></a>
for example lets insert image as hyperlink
<a href="ajax.html"><img src="logo.gif" alt="AJAX" border="0" /></a>
The default appearance is a blue border around the image. Specifying border="0" removes the border around the image.
if you want to insert image from another folder then the image hyperlink looks like this:
<a href="ajax.html"><img src="/images/html5/logo.gif" alt="AJAX" border="0" /></a>
If you want to insert image from another server then image hyper link looks like this:
<a href="ajax.html"><img src="https://www.myExample.com/images/html5/logo.gif" alt="AJAX" border="0" /></a>
I recommend Google Drive, it allows up to 15gb of free storage. You can access it anywhere since it is fromGoogle. Another one you can try is Dropbox which only allows up to 2gb.
Answer:
lurch means make an abrupt, unsteady, uncontrolled movement or series of movements; stagger.