Вотъ! int i;
uint16_t mask;
mask=0x8000;
for(i=0;i<8;i++)
{
GPIOA->BSHR=patternZeroSet;
1a0: 400117b7 lui a5,0x40011
1a4: 060006b7 lui a3,0x6000
{
1a8: 4721 li a4,8
GPIOA->BSHR=patternZeroSet;
1aa: 80078793 addi a5,a5,-2048 # 40010800 <_eusrstack+0x2000e000>
1ae: 10068693 addi a3,a3,256 # 6000100 <__stack_size+0x5fff900>
GPIOA->BSHR=patternZeroFix;
1b2: 07000637 lui a2,0x7000
GPIOA->BSHR=patternZeroSet;
1b6: cb94 sw a3,16(a5)
GPIOA->BSHR=patternZeroFix;
1b8: cb90 sw a2,16(a5)
1ba: 177d addi a4,a4,-1
for(i=0;i<8;i++)
1bc: ff6d bnez a4,1b6 <sendFIRtoDAC+0x16>
GPIOA->BSHR=patternOneSet;
GPIOA->BSHR=patternOneFix;
}
else
{
GPIOA->BSHR=patternZeroSet;
1be: 06000637 lui a2,0x6000
GPIOA->BSHR=patternOneSet;
1c2: 040005b7 lui a1,0x4000
GPIOA->BSHR=patternOneFix;
1c6: 05000837 lui a6,0x5000
1ca: 4741 li a4,16
mask=0x8000;
1cc: 66a1 lui a3,0x8
1ce: 40011337 lui t1,0x40011
GPIOA->BSHR=patternZeroSet;
1d2: 10060613 addi a2,a2,256 # 6000100 <__stack_size+0x5fff900>
GPIOA->BSHR=patternZeroFix;
1d6: 07000e37 lui t3,0x7000
GPIOA->BSHR=patternOneSet;
1da: 30058593 addi a1,a1,768 # 4000300 <__stack_size+0x3fffb00>
GPIOA->BSHR=patternOneFix;
1de: 20080813 addi a6,a6,512 # 5000200 <__stack_size+0x4fffa00>
if((FIRdata&mask)!=0)
1e2: 00d578b3 and a7,a0,a3
1e6: 80030793 addi a5,t1,-2048 # 40010800 <_eusrstack+0x2000e000>
1ea: 02088163 beqz a7,20c <sendFIRtoDAC+0x6c>
GPIOA->BSHR=patternOneSet;
1ee: cb8c sw a1,16(a5)
GPIOA->BSHR=patternOneFix;
1f0: 0107a823 sw a6,16(a5)
}
mask=mask>>1;
1f4: 177d addi a4,a4,-1
1f6: 8285 srli a3,a3,0x1
for(i=0;i<16;i++)
1f8: f76d bnez a4,1e2 <sendFIRtoDAC+0x42>
}
GPIOA->BSHR=patternOff;
1fa: 03000737 lui a4,0x3000
1fe: 400117b7 lui a5,0x40011
202: 40070713 addi a4,a4,1024 # 3000400 <__stack_size+0x2fffc00>
206: 80e7a823 sw a4,-2032(a5) # 40010810 <_eusrstack+0x2000e010>
}
20a: 8082 ret
GPIOA->BSHR=patternZeroSet;
20c: cb90 sw a2,16(a5)
GPIOA->BSHR=patternZeroFix;
20e: 01c7a823 sw t3,16(a5)
212: b7cd j 1f4 <sendFIRtoDAC+0x54>