
计算机组成原理
LinkEd连接教育
这个作者很懒,什么都没留下…
展开
-
comp1521-汇编位运算
0SLL Shift Word Left LogicalSLLV Shift Word Left Logical VariableSRA Shift Word Right ArithmeticSRAV Shift Word Right Arithmetic VariableSRL Shift Word Right LogicalSRLV Shift Word Right Logical VariableThe ones of interest to you are the ones with原创 2021-11-27 20:26:29 · 196 阅读 · 0 评论 -
comp1521-使用小工具
检查style: 1511 style chicken.c , 1521 style chicken.c把tab换成空格:1521 replace_tabs example.c原创 2021-11-23 19:46:10 · 242 阅读 · 0 评论 -
comp1521-mips以及c语言中的系统调用
文章目录0 C语言文件操作1 mips关于文件操作的系统调用参数0 C语言文件操作#include <string.h>#include <stdio.h>#include <stdlib.h>#include <inttypes.h> // uint16_t//// 打开文件FILE *fp = fopen("file_name.txt", "wb");//注意fputc,是按照二进制输入到文件中。比如,int number = 'A'原创 2021-11-03 21:46:15 · 822 阅读 · 0 评论 -
comp1521-MIPS(三)结构总结
文章目录1 单层循环结构1 双层循环结构if-else结构1 单层循环结构li $t0, 0 # int i = 0;bomb_loop0: bge $t0, $t1, place_bombs__epilogue # while (i < N_ROWS)########do some thing######## addi $t0, $t0, 1原创 2021-10-31 10:30:00 · 157 阅读 · 0 评论 -
comp1521计算机系统基础()文件
基础知识文件不需要字节到底代表啥意思,比如写了个.c文件,文件系统不需要知道这堆字节到底啥意思,存着就完了硬链接和软链接可以把硬链接当成源文件的副本,他和源文件一样的大小但是事实上却不占任何空间。符号链接可以理解为类似windows一样的快捷方式。在对符号链接进行读写操作的时候,系统会自动把该操作转换为对源文件的操作。但是删除链接文件时,系统仅仅删除符号链接文件,而不删除源文件本身。在linux中,多个文件名指向同一索引点是存在的。一般这种链接是硬链接。硬链接的作用是允许一个文件拥有多个有效路原创 2021-10-27 19:27:21 · 195 阅读 · 0 评论