epwwm 发表于 2012-8-28 16:39:45

还有多少个象我这样只会PIC汇编写软件的TX呢?

不会C,只会PIC汇编,之前是用51的汇编,不过自从用PIC后就没用过51了,久而久之,51的汇编也忘了。。。用PIC也用差不多八九年了。。全是自行学习和摸索。。
想当年用PIC16F73量产要13元一块,而现在降到6元了,PIC单片机的种类也增加了n倍了,近来渐渐地,要更上一层楼,不用C几几乎是不可能了,又有重学C的冲动了,可以年纪大了(本人73年),冲劲和时间可不如年轻时了,特来求鼓励和成功例子。。。

allenjoe 发表于 2012-8-28 16:57:36

73了还在工作,OMG............

mowin 发表于 2012-8-28 17:10:17

汇编高手学C绝对没有难度!推荐K.N.KING的书:C语言程序设计:现代方法

saisam 发表于 2012-8-28 17:12:37

本人从事PLC工作,(初中文化的我)有一次把PIC的书当成了PLC的事睇左一下。后来感兴趣,就从汇编学起了(PIC16F877A)。不过当我学51的时候又学起了C语言。当然拉我没有楼住那样的年长。也谈不上什么精通。但我相信有兴趣就行。有心去学也就行了。

tiger5 发表于 2012-8-28 17:15:35

本帖最后由 tiger5 于 2012-8-28 17:16 编辑

现在开源的资料不少,还有PIC的论坛,便宜的开发板。
搞个开发板,每个例程跑一遍,搞明白,就入门了。
一旦入门,从汇编的思维转换到C,凭你数十年的汇编功力,
搞C也是很轻松的。

加油吧,开始上路学习吧。呵呵。

epwwm 发表于 2012-8-28 17:19:22

tiger5 发表于 2012-8-28 17:15 static/image/common/back.gif
现在开源的资料不少,还有PIC的论坛,便宜的开发板。
搞个开发板,每个例程跑一遍,搞明白,就入门了。
一 ...

谢谢,鼓励。。。

epwwm 发表于 2012-8-28 17:20:50

allenjoe 发表于 2012-8-28 16:57 static/image/common/back.gif
73了还在工作,OMG............

不要惊奇,够用就好,价格虽然贵点,但板子已定型不方便更改。。
一个月还能用2~3K 73呢。。。

nds_shenzhen 发表于 2012-8-28 17:21:14

楼上的理解错了吧
我想楼上的 年龄应该是1973年 也就是39岁
并不是所谓的 73岁
年龄不是问题 何况你才39
男人四十一枝花

epwwm 发表于 2012-8-28 17:22:39

nds_shenzhen 发表于 2012-8-28 17:21 static/image/common/back.gif
楼上的理解错了吧
我想楼上的 年龄应该是1973年 也就是39岁
并不是所谓的 73岁


应该是你搞错了,他所讲的73是PIC16F73,不是73岁{:lol:}

wujh 发表于 2012-8-28 17:44:25

我也想学C,但一到用时又把汇编拉出来了。

yklstudent 发表于 2012-8-28 23:25:21

膜拜汇编前辈们

allenjoe 发表于 2012-8-29 09:02:54

epwwm 发表于 2012-8-28 17:22 static/image/common/back.gif
应该是你搞错了,他所讲的73是PIC16F73,不是73岁

额,我真的看错了。。。。
以为年龄73了。。。。。(主要你前面说年纪大了。。。。。)

epwwm 发表于 2012-8-29 10:27:04

{:funk:}{:funk:}要是73了还在写软件,那真是学到老活老了。。。。

laujc 发表于 2012-8-29 10:54:54

楼主讲了PIC16F73 后面又讲了73年生人。
不过也挺大的了,应该从一线开发,过度到指导别人开发了吧?
其实用c和用汇编差不多,写起来快与慢而已。重要的是算法。

楼主有汇编基础,学起来很快的,而且知道汇编的话,更能写出高质量的C代码。

piccode 发表于 2012-8-29 11:00:44

C比汇编好用啊..也比汇编好上手啊。

portx 发表于 2012-8-29 11:09:06

汇编其实更能深入的了解一款芯片,有这个底子建议你从CCS学起,其实大体结构和汇编类似,C相对汇编更灵活但是更浪费资源(对于汇编高手逐个BIT的优化来说).
总体上C语言比汇编更“傻瓜化”了

1521732588 发表于 2012-9-7 12:01:53

其实年龄没关系的,只要用心学,也很容易上手的

sfq2008 发表于 2012-9-8 09:12:54

C很简单,只要你愿意,一周就可上手

babysnail 发表于 2012-9-8 09:20:20

c相对汇编来说 入门容易精通难,要时间。学习曲线象 电容充电。呵

wiisir 发表于 2012-9-9 20:48:19

我是70的,自学了C,用c有8年了,以前主要用51的。但是现在感觉PIC18的没法用(较大的程序)。原在C51下很正常的LCD程序,移植到PIC18F4620没法显示,都搞了3个月了,没任何进展。现在打算放弃PIC18,改用8958

fghlw 发表于 2012-9-10 08:53:35

当初花了一个晚上把一个采集程序从51汇编转成C51以后就一直用C了当然前提是有C的基础

zhiguangqi 发表于 2012-9-15 06:00:33

我现在也是汇编,也在学C。加油

millwood0 发表于 2012-9-15 08:16:44

if you know assembly, c is easy.

mowin 发表于 2012-9-15 08:37:50

millwood0 发表于 2012-9-15 08:16 static/image/common/back.gif
if you know assembly, c is easy.

米兄,请问MPLAB7.6+CCSV4.13。在MPLAB里编译,老是提示“不能打开头文件”。如果把头文件复制到工程目录下则OK(太麻烦)。有什么好办法吗?
我单独用CCS编译是没有问题的。

epwwm 发表于 2012-9-15 08:51:47

将路径放进头文件名前就行了

millwood0 发表于 2012-9-15 08:57:13

havent used mplab for quite some time.

in one of the drop down menus, the are three items towards the bottom of that drop down menu, about tools / language etc. open it up and it shows a bunch of toolchains supported by mplab. one of them is ccs.

click it and fill the right path. done.

millwood0 发表于 2012-9-15 08:58:51

mplab is a piece of shit - as all things microchip.

I use hi-tide for pic10/12/16 stuff and emblocks for pic24/dspic stuff.

I only use mplab for pic18 stuff.

liangong 发表于 2012-9-15 09:24:34

汇编牛人,一星期能敲定!

liangong 发表于 2012-9-15 09:24:51

汇编牛人,C一星期能敲定!

mowin 发表于 2012-9-16 08:02:30

millwood0 发表于 2012-9-15 08:58
mplab is a piece of shit - as all things microchip.

I use hi-tide for pic10/12/16 stuff and emblock ...

谢谢。试了,填路径也没用。罢,卸载mplab,直接用ccs。

k005 发表于 2012-9-16 10:19:44

piccode 发表于 2012-8-29 11:00 static/image/common/back.gif
C比汇编好用啊..也比汇编好上手啊。

我喜欢你这个头像的这种女人。
{:loveliness:}

aworker 发表于 2012-9-16 10:44:55

allenjoe 发表于 2012-8-28 16:57 static/image/common/back.gif
73了还在工作,OMG............

不工作,又如何?

mowin 发表于 2012-9-17 16:41:14

millwood0 发表于 2012-9-15 08:58 static/image/common/back.gif
mplab is a piece of shit - as all things microchip.

I use hi-tide for pic10/12/16 stuff and emblock ...

米兄,在你眼里很多东西都是POS{:lol:}
对了,今天我发现,PICKIT3也有独立编程上位机软件哦!

chengzepeng 发表于 2012-9-17 16:56:48

C最终出来的还是汇编,所以从汇编过渡到C更简单!

millwood0 发表于 2012-9-17 23:22:13

米兄,在你眼里很多东西都是POS

that's unfair - as I love pickit2: I just found out that I have a total of four of them. stocking them up before they are gone!

对了,今天我发现,PICKIT3也有独立编程上位机软件哦!

that would be very helpful. not having an independent programming environment is a big minus for pickit3.

the whole story of pickit3 is amazing in that it was largely designed by copying the pickit2. so in theory, all the good things about pickit2 (independent programming environment, logic analyzer, etc.) should be quite easy to carry through to pickit3. microchip could have just modify the existing and much beloved pickit2 environment to support both pickit2/3.

instead, they went out of their way to sabotage their own product (pickit2).

those guys are so retarded.

millwood0 发表于 2012-9-17 23:24:48

直接用ccs。

their ide looked so amaturish.

if you use older pic10/12/16 chips,you may consider hi-tide.

if you use pic24f/dspic/32f chips, you may consider emblocks.

I only use mplab when I use pic18f chips.

mplabx is much better in terms of integrating all ides together. but it is so bloated and so slow.

I wish microchip had taken the avrstudio or cb approach.

mowin 发表于 2012-9-18 16:12:30

本帖最后由 mowin 于 2012-9-18 16:14 编辑

millwood0 发表于 2012-9-17 23:22 static/image/common/back.gif
that's unfair - as I love pickit2: I just found out that I have a total of four of them. stocking...

kit3软件确实是从kit2改来的,有图为证,请看“help”菜单:

millwood0 发表于 2012-9-18 19:09:56

good for microchip. looks like they finally wised up.

有图为证

that picture speaks volume about microchip quality: a pickit3 application making reference to pickit2 in its help menu.

the point remains: pickit3 should have been a step up from pickit2, both software and hardware. instead, it is anything but. google around and you will see plent of frustration with pickit3 and the difficult journey it has taken microchip to address some of them - pickit3 is so bad that microchip actually made a youtube video about fixing it.

as i don't use the newer chips (my compiler doesn't support them), i am staying with my trusty pickit2.

mowin 发表于 2012-9-24 14:56:13

本帖最后由 mowin 于 2012-9-24 14:57 编辑

millwood0 发表于 2012-9-17 23:24 static/image/common/back.gif
their ide looked so amaturish.

if you use older pic10/12/16 chips,you may consider hi-tide.


折腾了一小段时间,觉得玩不转CCS,用的不顺手。改用Hi-Tech-C+mplab。
另外我也买了你推荐的sure克隆版pickit2,88rmb,便宜好用。

ccc 发表于 2012-9-24 15:27:11

8位机还好,要是像STM32之类的,用汇编可能就有点力不从心了。

millwood0 发表于 2012-9-25 04:10:21

改用Hi-Tech-C+mplab。

picc (as well as c18 etc.) have come to their end of life. if you are starting new, and want to use newer chips, you may want to look into mplab x and the xcn compilers.

i am too invested in picc/hi-tide and too lazy to learn new tricks.

mowin 发表于 2012-9-25 08:15:33

mplab x会取代其他是肯定的。有必要时再换。有如你所说,mplab x是新东西,臃肿加未知bug……再看看吧

millwood0 发表于 2012-9-25 09:51:19

agreed. i wouldn't try anything from microchip until it is version 2 or later.

mplab x seems to be done by the hi-tech team that developed hi-tide (eclipse, also java-based). as such, mplab x looks surprisingly like hi-tide -> a big plus in my book. however, mplab is very slow and lethargic.

I am still using older compilers with mplab x. but my beloved 9.60std doesn't work with mplab x (9.65pro does).

detail2012 发表于 2012-9-25 10:29:38

有汇编的基础学C不难...有C的基础学汇编还难{:lol:}

armstrong 发表于 2012-9-29 15:36:34

建议你用HT-PICC编译器先开发几个玩具程序,熟悉一下PIC下面的C语言编程。别去看那些C语言基础教程等脱离实际的书本,因为PIC的C语言有很多特殊关键字,和PC上的C语言标准是有区别的。只有这样学习才能更快的应用到实际开发中去。

taishandadi 发表于 2012-9-29 16:53:08

想想汉语的如果,否则。ifelse。就知道C入门是比较容易的。

nos001 发表于 2012-10-2 17:05:04

mplab x 还是算了吧,i7cpu,4g内存都跑不动

wszyjsw2 发表于 2012-10-2 23:23:54

从学单片机那天起就一直在用汇编都懒得用C了,连进行浮点数处理还有算法设计都是用汇编的       感觉用汇编就是一种乐趣,一种个人的爱好 等到工作的时候再学习C也不迟

txchen 发表于 2012-10-3 00:21:41

楼主还年青,学任何东西都不晚,从单片机发展的情况来看还是要学C语言,有那么长的汇编功底,学C不难的,首先从入门单片机C语言例子入手,有一本(PIC单片机入门与实战)的书,里面有汇编和C语言.可以一看.网上有下载

dongmakuaibu 发表于 2012-10-3 15:58:25

活着,简简单单就行

dongmakuaibu 发表于 2012-10-3 15:59:12

活着,简简单单就行

rqiang 发表于 2012-10-3 16:16:59

能用好汇编,再去学C,应该没有多少难度。。。

shiyuzuxia1111 发表于 2012-10-3 17:32:30

{:smile:}楼主也会成为C高手。。。

qskjpower 发表于 2012-10-8 01:15:22

我还是用汇编好多年了, 慢慢就习惯 了,以前LPC用过C感觉C 用起来方便,不过 就是不知道他里面是怎么工作的,一旦出现怪异 现象 很难查找故障根源。

一般小单片机用汇编可以,   上了大系统 像 32 位 就只有用C 了,

2012shuxingwei 发表于 2012-10-8 23:38:12

刚毕业,学过51,已忘记,自学了PIC,毕业设计用的也是PIC,一直用汇编,学过C早已荒废,唉,何时能转C

tan 发表于 2013-1-18 14:13:32

汇编好啊,汇编才是正宗.

nsx_yl 发表于 2013-1-18 14:22:44

are you creazy?

tan 发表于 2013-1-18 14:36:22

楼主有16F1937的汇编便程吗?有麻烦你发一个给我:lkqa@163.com 谢谢!

wangqh1983 发表于 2013-1-18 18:53:20

millwood0 发表于 2012-9-15 08:58 static/image/common/back.gif
mplab is a piece of shit - as all things microchip.

I use hi-tide for pic10/12/16 stuff and emblock ...


我很想知道关于Em::Blocks这个软件的更多信息?不知道是否可以提供官方链接?在google中搜索到相关的信息较少。
http://www.microchip.com/forums/tm.aspx?m=649747&mpage=&print=true

wangqh1983 发表于 2013-1-18 19:42:01

找到链接了。
http://www.emblocks.org/web/

pic_flash 发表于 2013-1-19 10:11:06

楼主应该使用C 了, 虽然很痛苦, 但是如果要继续混的话, 一定要用C了。
你写的汇编几十行, 可能一行C 语句完成了。。开发时间大幅缩短。。

在过去,C 的编译效率不高,有时需要C 和汇编混着用, 当要高效的部分使用汇编。。但现在也不怎么需要了。。

汇编应该慢慢停用, 改用Hitech C, CCS C,MPLAB XC,。。为什么? 因为现在的C 已经被优化了, 效率也高了, PIC 核心也优化 支持C语言。

至于CCS C, 这是非常容易入手的C 编译器, 但是要小心注意, 它不是ANSI 标准。
我本人使用CCS C,用着没有问题, 只有要移值其他的ANSI C 时有困难。。
比如, Microchip 官方的Miwi Stack我就没有办法移值到CCS C。。 而且遗憾的是CCS C 不支持, 也不打算支持MiWi。。

Hitech C, CCS C,MPLAB XC, 会比较适合高手。。。
CCS C 很适合业余爱好者,适合快速入门的。。基本2~3天就学会吧。。

shjw 发表于 2013-2-5 11:31:42

膜拜高手,我想汇编高手写出的程序会更加高效。

i_kkyu 发表于 2013-2-5 12:38:52

高手~~~~

ycheng2004 发表于 2019-7-10 11:56:08

写PIC汇编真是高手,因PIC的汇编最难写了,

motor_control 发表于 2019-7-10 13:12:19

本帖最后由 motor_control 于 2019-7-10 13:13 编辑

现在还学C有点迟,怎么不早点转呢?
还是建议用《21天学通C语言》吧!这是一本好书!!!

记住是美国人写的第六版的,不是国内套牌书!

adcr 发表于 2019-7-10 15:35:25

对于汇编高手来说,用C就如果开惯了手动档车,突然开自动档车一样简单

cheng-8yang 发表于 2021-2-26 17:00:55

楼主现在八十多岁了。

Dogdays 发表于 2021-2-26 17:14:36

cheng-8yang 发表于 2021-2-26 17:00
楼主现在八十多岁了。

新坛友吗?看帖不认真哦,楼主是1973年的,并非是2012年73岁。

qq451982051 发表于 2021-2-26 17:15:02

cheng-8yang 发表于 2021-2-26 17:00
楼主现在八十多岁了。

????我理解错了吗?八十多?

chunjiu 发表于 2021-2-26 17:36:20

allenjoe 发表于 2012-8-28 16:57
73了还在工作,OMG............

我 70 的 ... {:curse:},咋啦?嫌老啊? {:lol:}

motor_control 发表于 2021-2-26 20:46:54

本帖最后由 motor_control 于 2021-2-27 07:24 编辑

最近用汇编写程序,对程序规模不大,但有技术难度的项目,还是汇编精简有力!感觉用8位机就是爽。

joesonzzy 发表于 2021-2-26 21:33:59

allenjoe 发表于 2012-8-28 16:57
73了还在工作,OMG............

是73年的,才48岁

cheng-8yang 发表于 2021-2-27 08:38:13

Dogdays 发表于 2021-2-26 17:14
新坛友吗?看帖不认真哦,楼主是1973年的,并非是2012年73岁。

{:lol:} ,确实看错了,我还以为当时他73岁了!{:lol:}
页: [1]
查看完整版本: 还有多少个象我这样只会PIC汇编写软件的TX呢?