update info
This commit is contained in:
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])
|
||||
:
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user