update info
This commit is contained in:
parent
1851498df5
commit
35fabb8708
BIN
labdocs/reference.pdf
Normal file
BIN
labdocs/reference.pdf
Normal file
Binary file not shown.
14
related_info/lab0/lab0_ex1.c
Normal file
14
related_info/lab0/lab0_ex1.c
Normal file
@ -0,0 +1,14 @@
|
||||
int count=1;
|
||||
int value=1;
|
||||
int buf[10];
|
||||
void main()
|
||||
{
|
||||
asm(
|
||||
"cld \n\t"
|
||||
"rep \n\t"
|
||||
"stosl"
|
||||
:
|
||||
: "c" (count), "a" (value) , "D" (buf[0])
|
||||
:
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user