原创 Jed2Abel反汇编实战

2007-1-16 00:16 9948 13 13 分类: FPGA/CPLD


文章编号:1137----加入日期:2004-2-12


『关闭窗口』


Jed2Abel反汇编实战(hotpower)



GAL16V8 JED文件示例
hotpower 发表于 2003-8-21 22:22 EMC 单片机 ←返回版面    

ABEL(tm) 3.00a FutureNet Div, Data I/O Corp.  JEDEC file for: P16V8C
Created on: 20-Aug-:3 05:46 PM
Jed2Abel Version 3.01 Copyright (c) 1993,2008
       Jed2Abel JedFile:[Ljr1.Jed]
       HotPower 2002.4.18*
QP20* QF2194* QV32*
L0000
11111111111111111111111111111111
01111011101111111111111111111111
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
11111111111111111111111111111111
01110111101101110111111111111111
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
11111111111111111111111111111111
01110111101110110111111111101111
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
11111111111111111111111111111110
11111111111111111111011111111111
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
11111111111111111111111111111110
11111111111111111111111101111111
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
11111111111111111111111111111111
01110111011111111111111111101111
01110111011111111111111011111111
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000*
L2048
01111001*
L2056
0100100001101111011101000111000001101111011101110110010101110010*
L2120
11111111*
L2128
1111111111111111111111111111111111111111111111111111111111111111*
L2192
11*
V0001 XXXXXX0XXN0NXXXLXXNN*
V0002 XXXXXX1XXN0NXXXHXXNN*
V0003 XXXXXXXXXN1NXXXZXXNN*
V0004 XXXXXXX0XN0NXXLXXXNN*
V0005 XXXXXXX1XN0NXXHXXXNN*
V0006 XXXXXXXXXN1NXXZXXXNN*
V0007 X0XXXXXXXNXNXXXXXXHN*
V0008 X100XXXXXNXNXXXXXXLN*
V0009 X101XXXXXNXNXXXXXXHN*
V0010 X11XXXXXXNXNXXXXXXHN*
V0011 X0XXXXXXXNXLXXXXXXNN*
V0012 X100XXXXXNXLXXXXXXNN*
V0013 X101XXXXXNXLXXXXXXNN*
V0014 X110XXXXXNXLXXXXXXNN*
V0015 X111XXXXXNXH00XXXXNN*
V0016 X111XXXXXNXH10XXXXNN*
V0017 X111XXXXXNXH01XXXXNN*
V0018 X111XXXXXNXL11XXXXNN*
V0019 X0XXXXXXXNXNXXXXXLNN*
V0020 X100XXXXXNXNXXXXXLNN*
V0021 X11011XXXNXNXXXXXHNN*
V0022 X11010XXXNXNXXXXXLNN*
V0023 X1100XXXXNXNXXXXXLNN*
V0024 X101XXXXXNXNXXXXXLNN*
V0025 X111XXXXXNXNXXXXXLNN*
V0026 X0XXXXXXXNXNXXXXLXNN*
V0027 X100XXXXXNXNXXXXLXNN*
V0028 X11011XXXNXNXXXXLXNN*
V0029 X11001XXXNXN0XXXHXNN*
V0030 X11001XXXNXN1XXXLXNN*
V0031 X110X0XXXNXNXXXXLXNN*
V0032 X1X1XXXXXNXNXXXXLXNN*
C3F40*E1AC




上例反汇编(使用JED2ABEL.C)
hotpower 发表于 2003-8-21 22:24 EMC 单片机 ←返回版面    

module _Ljr1

title 'Jed2Abel Version 3.01 Copyright (c) 1993,2008
       Jed2Abel JedFile:[Ljr1.Jed]

       Ljr1 device 'P16V8C';"Make JedFusesFile Ljr1.Jed

P01,P02,P03,P04,P05,P06,P07,P08,P09 Pin 1,2,3,4,5,6,7,8,9;
P11,P12,P13,P14,P15,P16,P17,P18,P19 Pin 11,12,13,14,15,16,17,18,19;

P19,P18,P17,P16,P15,P14,P13,P12 istype 'com';
P18,P17,P16,P15,P12 istype 'pos';
P19,P14,P13 istype 'neg';
P19,P18,P17,P16,P15,P14,P13,P12 istype 'eqn';

H,L,X,Z,C,P=1,0,.X.,.Z.,.C.,.P.;

equations
P19.oe = 1;
!P19 = P02 & !P03 & !P04;
P18.oe = 1;
P18 = P02 & P03 & !P04 & P05 & P06;
P17.oe = 1;
P17 = P02 & P03 & !P04 & !P05 & P06 & !P13;
P16.oe = !P11;
P16 = P07;
P15.oe = !P11;
P15 = P08;
"P14 =Input Pin
"P13 =Input Pin
P12.oe = 1;
P12 = P02 & P03 & P04 & !P13
     # P02 & P03 & P04 & !P14;

fuses
[2056..2063]='H';
[2064..2071]='o';
[2072..2079]='t';
[2080..2087]='p';
[2088..2095]='o';
[2096..2103]='w';
[2104..2111]='e';
[2112..2119]='r';

test_vectors"V0001
([P07,P11]->[P16])
[ L , L ]->[ L ];

test_vectors"V0002
([P07,P11]->[P16])
[ H , L ]->[ H ];

test_vectors"V0003
([P11]->[P16])
[ H ]->[ Z ];

test_vectors"V0004
([P08,P11]->[P15])
[ L , L ]->[ L ];

test_vectors"V0005
([P08,P11]->[P15])
[ H , L ]->[ H ];

test_vectors"V0006
([P11]->[P15])
[ H ]->[ Z ];

test_vectors"V0007
([P02]->[P19])
[ L ]->[ H ];

test_vectors"V0008
([P02,P03,P04]->[P19])
[ H , L , L ]->[ L ];

test_vectors"V0009
([P02,P03,P04]->[P19])
[ H , L , H ]->[ H ];

test_vectors"V0010
([P02,P03]->[P19])
[ H , H ]->[ H ];

test_vectors"V0011
([P02]->[P12])
[ L ]->[ L ];

test_vectors"V0012
([P02,P03,P04]->[P12])
[ H , L , L ]->[ L ];

test_vectors"V0013
([P02,P03,P04]->[P12])
[ H , L , H ]->[ L ];

test_vectors"V0014
([P02,P03,P04]->[P12])
[ H , H , L ]->[ L ];

test_vectors"V0015
([P02,P03,P04,P13,P14]->[P12])
[ H , H , H , L , L ]->[ H ];

test_vectors"V0016
([P02,P03,P04,P13,P14]->[P12])
[ H , H , H , H , L ]->[ H ];

test_vectors"V0017
([P02,P03,P04,P13,P14]->[P12])
[ H , H , H , L , H ]->[ H ];

test_vectors"V0018
([P02,P03,P04,P13,P14]->[P12])
[ H , H , H , H , H ]->[ L ];

test_vectors"V0019
([P02]->[P18])
[ L ]->[ L ];

test_vectors"V0020
([P02,P03,P04]->[P18])
[ H , L , L ]->[ L ];

test_vectors"V0021
([P02,P03,P04,P05,P06]->[P18])
[ H , H , L , H , H ]->[ H ];

test_vectors"V0022
([P02,P03,P04,P05,P06]->[P18])
[ H , H , L , H , L ]->[ L ];

test_vectors"V0023
([P02,P03,P04,P05]->[P18])
[ H , H , L , L ]->[ L ];

test_vectors"V0024
([P02,P03,P04]->[P18])
[ H , L , H ]->[ L ];

test_vectors"V0025
([P02,P03,P04]->[P18])
[ H , H , H ]->[ L ];

test_vectors"V0026
([P02]->[P17])
[ L ]->[ L ];

test_vectors"V0027
([P02,P03,P04]->[P17])
[ H , L , L ]->[ L ];

test_vectors"V0028
([P02,P03,P04,P05,P06]->[P17])
[ H , H , L , H , H ]->[ L ];

test_vectors"V0029
([P02,P03,P04,P05,P06,P13]->[P17])
[ H , H , L , L , H , L ]->[ H ];

test_vectors"V0030
([P02,P03,P04,P05,P06,P13]->[P17])
[ H , H , L , L , H , H ]->[ L ];

test_vectors"V0031
([P02,P03,P04,P06]->[P17])
[ H , H , L , L ]->[ L ];

test_vectors"V0032
([P02,P04]->[P17])
[ H , H ]->[ L ];

end _Ljr1




(文章推荐人:sparkstar)


返回大虾论坛 返回首页
PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
EE直播间
更多
我要评论
0
13
关闭 站长推荐上一条 /3 下一条