Receive several N-digit decimal values (0 ~ 65535) from the keyboard and display their sum in binary, decimal and hexadecimal number systems. requirement: (1) A subroutine is used to realize the input of an N-digit decimal value in the loop structure of the main program The subroutine is called. (2) When the user enters directly ...
Posted by MiniMonty on Sun, 05 Dec 2021 01:50:26 -0800
Receive several one digit decimal values (0-9) from the keyboard and display their sum in the form of decimal data.
requirement: 1) The input of one decimal value is realized by subroutine 2) When the user enters directly without entering a value, the input is ended 3) The input data is multi digit decimal data, and the sum calculated ...
Posted by sachavdk on Fri, 03 Dec 2021 22:06:01 -0800
Recently, during optimization, some functions were bench tested on different compilation platforms . Found a lot of problems.
Now let's share one of the questions.
1 typedef float MAFloat;
3 MAFloat sma(const MAFloat* seq, const int cnt, const int N, const int M)
5 const MAFloat C ...
Posted by LordPsyan on Thu, 04 Nov 2021 06:24:53 -0700
1. Subprogram design Complete exercise 6.9. The scores of 10 students are 76, 69, 84, 90, 73, 88, 99, 63100 and 80 respectively. Trial compilation The number of people with 60-69 points, 70-79 points, 80-89 points, 90-99 points and 100 points is calculated by subprogram respectively Store in units S6, S7, S8, S9, and S10.
GRADE DB ...
Posted by feeta on Sun, 05 Apr 2020 10:38:22 -0700
Wang Shuang course design of assembly language 2
The most important thing to master a programming language is practice. Wang Shuang's teacher's Curriculum Design II, if you write 400 to 800 lines of code completely, and complete this curriculum design independently, you will be proficient in 16 bit a ...
Posted by Logical1 on Sun, 19 Jan 2020 22:13:48 -0800
43. Title Description
In assembly language, there is a shift instruction called loop left shift (ROL). Now there is a simple task, which is to simulate the operation result of this instruction with a string. For a given character sequence S, please rotate it to the left after K-bit sequence output. For example, the character s ...
Posted by danago on Tue, 07 Jan 2020 07:28:37 -0800
Description of C language style operators used in this paper:
< less than
< = less than or equal to
~Reverse by position
< cycle left
4.1 initial value There's nothing to say about this. Just copy the standard documents:
7380166f 4914b2 ...
Posted by nEmoGrinder on Tue, 17 Dec 2019 20:08:40 -0800
 linux 0.11 bootsect.s
Copy the contents of the memory segment [0x07c00, 0x07e00) to the memory segment [0x90000, 0x90200],
Then jump to 0x9000 segment to execute the program that is not executed after bootdetect. S.
The subsequent program of bootsec. S will start the setup.s program in the disk (floppy disk) into ...
Posted by phpbrat on Sun, 03 Nov 2019 13:58:32 -0800
0.0 uCOSii background
μ C/OS-II is a portable, curable, tailorable, preemptive multitask real-time kernel provided by Micrium company. It is suitable for a variety of microprocessors, microcontrollers and digital processing chips (which have been transplanted to more than 1 ...
Posted by please_explain on Sat, 26 Oct 2019 06:30:25 -0700