1 Star 0 Fork 0

wdliming/gnu-eprog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
sections.dia 14.40 KB
一键复制 编辑 原始数据 按行查看 历史
<?xml version="1.0" encoding="UTF-8"?>
<dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/">
<dia:diagramdata>
<dia:attribute name="background">
<dia:color val="#ffffff"/>
</dia:attribute>
<dia:attribute name="pagebreak">
<dia:color val="#000099"/>
</dia:attribute>
<dia:attribute name="paper">
<dia:composite type="paper">
<dia:attribute name="name">
<dia:string>#A4#</dia:string>
</dia:attribute>
<dia:attribute name="tmargin">
<dia:real val="2.8222000598907471"/>
</dia:attribute>
<dia:attribute name="bmargin">
<dia:real val="2.8222000598907471"/>
</dia:attribute>
<dia:attribute name="lmargin">
<dia:real val="2.8222000598907471"/>
</dia:attribute>
<dia:attribute name="rmargin">
<dia:real val="2.8222000598907471"/>
</dia:attribute>
<dia:attribute name="is_portrait">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="scaling">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="fitto">
<dia:boolean val="false"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
<dia:attribute name="grid">
<dia:composite type="grid">
<dia:attribute name="width_x">
<dia:real val="0.5"/>
</dia:attribute>
<dia:attribute name="width_y">
<dia:real val="0.5"/>
</dia:attribute>
<dia:attribute name="visible_x">
<dia:int val="1"/>
</dia:attribute>
<dia:attribute name="visible_y">
<dia:int val="1"/>
</dia:attribute>
<dia:composite type="color"/>
</dia:composite>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#d8e5e5"/>
</dia:attribute>
<dia:attribute name="guides">
<dia:composite type="guides">
<dia:attribute name="hguides"/>
<dia:attribute name="vguides"/>
</dia:composite>
</dia:attribute>
</dia:diagramdata>
<dia:layer name="Background" visible="true" active="true">
<dia:object type="Flowchart - Box" version="0" id="O0">
<dia:attribute name="obj_pos">
<dia:point val="3.6,6"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="3.55,5.95;19.05,8.05"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="3.6,6"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="15.399999999999995"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="2"/>
</dia:attribute>
<dia:attribute name="border_color">
<dia:color val="#ffdde3"/>
</dia:attribute>
<dia:attribute name="inner_color">
<dia:color val="#ffdde3"/>
</dia:attribute>
<dia:attribute name="show_background">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="padding">
<dia:real val="0.5"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="sans" style="0" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="height">
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="pos">
<dia:point val="11.3,7.195"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
</dia:attribute>
<dia:attribute name="alignment">
<dia:enum val="1"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
</dia:object>
<dia:object type="Standard - Box" version="0" id="O1">
<dia:attribute name="obj_pos">
<dia:point val="3.6,12"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="3.55,11.95;19.05,13.05"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="3.6,12"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="15.399999999999999"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="border_color">
<dia:color val="#ffdde3"/>
</dia:attribute>
<dia:attribute name="inner_color">
<dia:color val="#ffdde3"/>
</dia:attribute>
<dia:attribute name="show_background">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="corner_radius">
<dia:real val="1.1754946310819804e-39"/>
</dia:attribute>
</dia:object>
<dia:object type="Standard - Box" version="0" id="O2">
<dia:attribute name="obj_pos">
<dia:point val="3.6,9"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="3.55,8.95;19.05,11.05"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="3.6,9"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="15.399999999999999"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="2"/>
</dia:attribute>
<dia:attribute name="border_color">
<dia:color val="#bdf5bd"/>
</dia:attribute>
<dia:attribute name="inner_color">
<dia:color val="#bdf5bd"/>
</dia:attribute>
<dia:attribute name="show_background">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="corner_radius">
<dia:real val="1.1754946310819804e-39"/>
</dia:attribute>
</dia:object>
<dia:object type="Flowchart - Box" version="0" id="O3">
<dia:attribute name="obj_pos">
<dia:point val="22.1925,5.5"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="22.1425,5.45;43.6075,9.65"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="22.1925,5.5"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="21.365000000000002"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="4.0999999999999996"/>
</dia:attribute>
<dia:attribute name="border_color">
<dia:color val="#ffc0cb"/>
</dia:attribute>
<dia:attribute name="inner_color">
<dia:color val="#ffc0cb"/>
</dia:attribute>
<dia:attribute name="show_background">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="padding">
<dia:real val="0.5"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
<dia:string>#0000_0000 arr: .word 10, 20, 30, 40, 50
0000_0014 len: .word 5
0000_0018 result: .skip 4#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="monospace" style="0" name="Courier"/>
</dia:attribute>
<dia:attribute name="height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="pos">
<dia:point val="22.6425,6.795"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
</dia:attribute>
<dia:attribute name="alignment">
<dia:enum val="0"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
</dia:object>
<dia:object type="Standard - Text" version="1" id="O4">
<dia:attribute name="obj_pos">
<dia:point val="22.5,5"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="22.5,4.255;27.6925,5.19"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
<dia:string>#.data section#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="sans" style="0" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="pos">
<dia:point val="22.5,5"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
</dia:attribute>
<dia:attribute name="alignment">
<dia:enum val="0"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
<dia:attribute name="valign">
<dia:enum val="3"/>
</dia:attribute>
</dia:object>
<dia:object type="Standard - Text" version="1" id="O5">
<dia:attribute name="obj_pos">
<dia:point val="22.5,11.5"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="22.5,10.755;27.4675,11.69"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
<dia:string>#.text section#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="sans" style="0" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="pos">
<dia:point val="22.5,11.5"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
</dia:attribute>
<dia:attribute name="alignment">
<dia:enum val="0"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
<dia:attribute name="valign">
<dia:enum val="3"/>
</dia:attribute>
</dia:object>
<dia:object type="Flowchart - Box" version="0" id="O6">
<dia:attribute name="obj_pos">
<dia:point val="22.5,12"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="22.45,11.95;43.55,17.15"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="22.5,12"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="21"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="5.0999999999999996"/>
</dia:attribute>
<dia:attribute name="border_color">
<dia:color val="#90ee90"/>
</dia:attribute>
<dia:attribute name="inner_color">
<dia:color val="#90ee90"/>
</dia:attribute>
<dia:attribute name="show_background">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="padding">
<dia:real val="0.5"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
<dia:string>#0000_0000 start: mov r1, #10
0000_0004 mov r2, #20
0000_0008 add r3, r2, r1
0000_000C sub r3, r2, r1#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="monospace" style="0" name="Courier"/>
</dia:attribute>
<dia:attribute name="height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="pos">
<dia:point val="22.95,13.295"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
</dia:attribute>
<dia:attribute name="alignment">
<dia:enum val="0"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
</dia:object>
<dia:object type="Standard - Box" version="0" id="O7">
<dia:attribute name="obj_pos">
<dia:point val="3.6,14"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="3.55,13.95;19.05,16.05"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="3.6,14"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="15.399999999999999"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="2"/>
</dia:attribute>
<dia:attribute name="border_color">
<dia:color val="#bdf5bd"/>
</dia:attribute>
<dia:attribute name="inner_color">
<dia:color val="#bdf5bd"/>
</dia:attribute>
<dia:attribute name="show_background">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="corner_radius">
<dia:real val="1.1754946310819804e-39"/>
</dia:attribute>
</dia:object>
<dia:object type="Flowchart - Box" version="0" id="O8">
<dia:attribute name="obj_pos">
<dia:point val="3.1425,4.5"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="3.0925,4.45;19.7325,17.65"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="3.1425,4.5"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="16.539999999999999"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="13.1"/>
</dia:attribute>
<dia:attribute name="show_background">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="padding">
<dia:real val="0.5"/>
</dia:attribute>
<dia:attribute name="text">
<dia:composite type="text">
<dia:attribute name="string">
<dia:string># .data
arr: .word 10, 20, 30, 40, 50
len: .word 5
.text
start: mov r1, #10
mov r2, #20
.data
result: .skip 4
.text
add r3, r2, r1
sub r3, r2, r1
#</dia:string>
</dia:attribute>
<dia:attribute name="font">
<dia:font family="monospace" style="0" name="Courier"/>
</dia:attribute>
<dia:attribute name="height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="pos">
<dia:point val="3.5925,5.795"/>
</dia:attribute>
<dia:attribute name="color">
<dia:color val="#000000"/>
</dia:attribute>
<dia:attribute name="alignment">
<dia:enum val="0"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
</dia:object>
</dia:layer>
</dia:diagram>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liming2019/gnu-eprog.git
git@gitee.com:liming2019/gnu-eprog.git
liming2019
gnu-eprog
gnu-eprog
master

搜索帮助