直接上脚本:
#!/bin/sh
addr=09b00000
for (( i=0;i<2000;i+=4 ))
do
addr_new=`echo "obase=16; $((16#$addr + $i))" | bc`
echo "addr_new=0x$addr_new"
done
时间: 2024-10-10 16:46:49
直接上脚本:
#!/bin/sh
addr=09b00000
for (( i=0;i<2000;i+=4 ))
do
addr_new=`echo "obase=16; $((16#$addr + $i))" | bc`
echo "addr_new=0x$addr_new"
done