代码搜索结果
找到约 10,000 项符合
7 的代码
main7.cpp
// Section 10.7
// $ CC screen.cpp main7.cpp
/*
Output:
****
****
****
****
@@@@@@
@@@@@@
---
---
---
---
---
*/
#include "screen.h"
int main() {
Scree
exercise7a.m
%% Remove offset
data=data+5;
exercise7.m
%% Parameters
m=1000;
x=randn(m,1);
%% Fully Vectorized
y=2*x;
%% De-vectorized to scalar operations (down columns)
y=randn(m,1);
for k=1:length(x)
y(k)=2*x(k);
end
%% De-vecto
7segled.asm
ORG 00H
LJMP MAIN
ORG 0030H
MAIN: MOV SP,#7H
MOV R2,#0 ;设置R2的初值为0,R2中存放要显示的数值
MOV R5,#16
START: DJNZ R5,NEXT
MOV R5,#16
MOV R2,#0
NEXT: MOV DPTR,#TAB
MOV A,R2
MOVC A,@A+DPTR
MOV