Author Topic: C Programming for 8051: SFR directions as arguments  (Read 9905 times)

0 Members and 1 Guest are viewing this topic.

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: C Programming for 8051: SFR directions as arguments
« Reply #25 on: July 30, 2014, 03:55:02 pm »
Agreed. Put up or shut up.
================================
https://dannyelectronics.wordpress.com/
 

Offline andyturk

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Off-topic
« Reply #26 on: July 30, 2014, 04:25:32 pm »
[...] I worked on PDP-10s early in my career, [...]
Damn, dude. You're old!

So, SOS or TECO?
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4305
  • Country: us
Re: C Programming for 8051: SFR directions as arguments
« Reply #27 on: July 30, 2014, 08:38:41 pm »
TECO.  Later, EMACS (real, TECO-based EMACS on tops20 and tenex.  FINE on tops10. (Oh god!  BLISS!  I think I'm having a PTSD flashback!)

I wonder if TECO would run on a moderately-sized microcontroller, and provide an "interesting" user interface?  I mean, it ran on PDP-8s...

The 8051 situation described in this thread reminds me of the sort of "nostalgia" that people get for their early systems.  "Oh yes, the 8080 was swell."  (it didn't do indirection to IO ports either, though that was added to Z80.  As long as you wanted to do it via the C register.)  "The high-res graphics on the c64 were amazing." (320*200, SO much better than the Apple ]['s 280×192 hires mode!)  Bleh.  The PDP10 instruction set was beautiful.  But I really don't want to go back to working on 100-user operating systems written entire in assembly language...

It also reminds me of the sorts of things that led people to write "self modifying code."  "Kids" today look at that with a mixture of awe and horror, but it used to seem to be the most straightforward way of getting some things done.

Is this limitation of the 8051 something that was addressed in any of the "enhanced" varieties that are still in common use?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf