summaryrefslogtreecommitdiff
path: root/2522/CH7/EX7.1/exm7_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2522/CH7/EX7.1/exm7_1.sce')
-rwxr-xr-x2522/CH7/EX7.1/exm7_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2522/CH7/EX7.1/exm7_1.sce b/2522/CH7/EX7.1/exm7_1.sce
new file mode 100755
index 000000000..85f1c9c16
--- /dev/null
+++ b/2522/CH7/EX7.1/exm7_1.sce
@@ -0,0 +1,12 @@
+//page no 216
+//example no 7.1
+//STEPS TO ADD 10 BYTES OF DATA.
+clc;
+disp('The micriprocessor needs :');
+disp('a counter to count 10 data bytes');
+disp('an index or a memory pointer to locate where data bytes are stored');
+disp('to transfer data from a memory location to the microprocessor');
+disp('to perform addition');
+disp('registers for temporary storage of partial answers');
+disp('a flag to indicate the completion of the task');
+disp('to store or output the result');