Today both CISC (Complex Instruction Set Computing) and RISC (Reduced Instruction Set Computing) devices/computers exist in market. There are fundamental differences between these along with their working design.
Though we can’t compare CISC and RISC machines saying this is better and this is NOT, here are some comparisons made between them. Your feedback is sought for this classroom scratches.
Write an assembly program to CONVERT UPPERCASE TO LOWERCASE IN A STRING
title convert uppercase to lowercase in a string
dosseg
.model small
.stack 100H
.code
main proc
mov ax, @data ; initialize ds register
mov ds, ax
mov cx, 09h ; for 9 characters including space
mov si, offset message
BACK: mov al, [si]
cmp al, 41h ; compares if al = 41
jb AHEAD ; jump below ie if al < 40 cmp al, 5A ja AHEAD ; jump above ie ...
title ALP to add list of 10 given numbers
dosseg
.model small
.stack 100
.code
main proc
mov ax, @data
mov ds, ax
mov, cx, 0aH
mov dx, 00
mov SI, offset array1
BACK: add dl, SI
adc dh, 00
LOOP back
mov result, dx
mov ax, 4c00h
INT 21h
main endp
.data
array1 db 01, 02, 03, 04, 05, 06, 07, 08, 09, 10
result db ?
end main
The following features enable microprocessor to be a versatile component in an instrumentation system.
Memory
Decision making power based on previously entered values
Repeatability of the reading
Digital read-out and interactiveness
Parallel Processing
Time sharing and multiprocessing
Data storage, retrieval and transmission
Effective control of multiple equipment in time sharing basis
Microprocessors are extremely used where a lot of processing is required
Advantages of Microprocessor based system in an industry
Reduce operating cost, particularly fuel-saving via optimizing control strategies
Reduce product give ...
Different Frequency Range Distribution
This table might not provide all the necessary information for specific frequency range.
No hard and fast rule for opting an antenna for a particular frequency be there.
Many electrical factors (eg radiation efficiency, radiation pattern, maximum antenna gain, antenna impedance, frequency characteristics) and structural factors (eg shape, size, appearance, cost and other economic aspects) are to be taken into account.
Band
Frequency Range
Wavelength
Services
Remarks
ELF
3 Hz – 3 KHz
-
Audio signal
VLF
3 – ...
to draw a line by using Bresenham’s line drawing algorithm
// modified version checks slope sign and function realization
#include
#include
#include
#include
#include
void func(int, int, int, int);
void main()
{
int gd=DETECT, gm;
initgraph(&gd, &gm, “c:\\tc\\bgi”);
int x1, y1, x2, y2, dx, dy, p;
cout<
cin>>x2>>y2;
dx= abs(x2-x1);
dy= abs(y2-y1);
int slope= dy/dx;
p=(2*dy-dx);
int x=x1;
int y=y1;
if (slope<1)
func(x1,y1, x2, y2);
else
{
int tempx1=y1;
int tempy1=x1;
int tempx2=y2;
int tempy2=x2;
func(tempx1, tempy1, tempx2, tempy2);
}
getch();
closegraph();
}
void func(tempx1, tempy1, tempx2, tempy2)
{
int p, i, dx, dy, x, y, x1, y1;
putpixel(x1, y1,RED);
for(i=0; i
{
if(p<0)
{
p=(p+2*dy);
x=x+1;
putpixel(x,y,RED);
}
else
{
p=(p+2*dy-2*dx);
x=x++;
y=y++;
putpixel(x,y,RED);
}
}
closegraph();
}
Trapezoidal rule can be applied to find the value of a limiting integer programmatically in both cases whether individual functional values are given or not. A complete algorithm follows the both process below.
/*********
Trapezoidal rule complete algorithm
1. start
2. read n= no of intervals
3. read initial and final values ie a,b
4. h=(b-a)/n;
5. set x[0]=a; x[n]=b;
6. next element
i= 1 to n-1
x[i]=x[i-1]+h
7.
TeXnic Center is choice of sophisticated LaTeX editor of many people simply because TeXnic is feature loaded and comes with easy integrated environment to work on creating
LaTeX documents including
thesis, report and journals on
Windows OS.
To answer in one sentence: using JabRef and Mendeley we can achieve the easiest and fastest way to create
references for your
thesis or other reports. Here we illustrate a visual
tutorial on how to create references for your need. One main benefit is that you can directly copy paste references thus generated into your Microsoft Word documents, ...
Here are some really useful tips and tricks to be used for LaTeX documentations like Journal papers or even your thesis reports. I have compiled some of them which I encountered during my
Thesis and
special study.
* How to remove or hide page number from (front page) LaTeX Document?
Often we have to remove the page number from the front page of our