initial commit
This commit is contained in:
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[attr]lfs-file filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
"*.pdf" filter=lfs diff=lfs merge=lfs -text
|
||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.idea
|
||||
.vscode
|
||||
34
3.md
Normal file
34
3.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# ARM
|
||||
|
||||
ARM based chips
|
||||
|
||||
## ARM Processor Architecture
|
||||
|
||||
* based on RISC
|
||||
* fixed length inst.
|
||||
* load-store arch
|
||||
* memory-to-register load inst.
|
||||
* register-to-memory store inst.
|
||||
* large uniform register file
|
||||
* 32bit arch(v1-v7), 64bit arch(v8-v9)
|
||||
* good performance/power
|
||||
|
||||
## ARM Processor Family
|
||||
|
||||
```python { cmd matplotlib hide }
|
||||
|
||||
import pymupdf
|
||||
|
||||
from PIL import Image
|
||||
|
||||
doc = pymupdf.open("./pdf/L3.pdf")
|
||||
|
||||
pix = doc[6].get_pixmap()
|
||||
img = Image.frombytes("RGB", [pix.width, pix.height], pix.samples)
|
||||
plt.axis('off')
|
||||
plt.subplots_adjust(left=0, right=1, top=1, bottom=0)
|
||||
plt.imshow(img)
|
||||
|
||||
plt.show()
|
||||
|
||||
```
|
||||
BIN
pdf/L1.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/L1.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pdf/L2.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/L2.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pdf/L3.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/L3.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user