Compilation of the third experiment

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. DSEG SEGMENT GRADE DB ...

Posted by feeta on Sun, 05 Apr 2020 10:38:22 -0700

Wang Shuang assembly language second edition curriculum design 2

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

Sword finger offer 43, 44: rotate string left, flip word order column

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

Using X64 assembly language to write high performance SM3 hash algorithm code

Description of C language style operators used in this paper: =Assignment ==Equal to < less than < = less than or equal to ~Reverse by position &Bitwise AND ^Bitwise XOR |Bitwise OR < cycle left >>>Cycle right 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

Read the operating system boot program roughly

[1] 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

STM32F1+uCOSii migration

0.uCOSII introduction 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

[Write an Operating System] 1 - hello world Comes Back

Catalog objective Phase 1: Implementing with Binary Editor Stage 2: Writing in Assembly Language Phase 3: Improving assembler Harvest Notes objective Develop a helloworld applet based on the underlying hardware. Phase 1: Implementing with Binary Editor First download a binary editor software ...

Posted by everisk on Mon, 12 Aug 2019 04:25:39 -0700

Sword Finger offer Solution - JavaScript Edition

1. Finding in Two-Dimensional Array In a two-dimensional array, each row is sorted in increasing order from left to right, and each column is sorted in increasing order from top to bottom. Please complete a function, input such a two-dimensional array and an integer, to determine whether the array contains the integer. function Find(target, a ...

Posted by REDFOXES06 on Tue, 30 Jul 2019 21:17:58 -0700