Re: 8051 and a C switch statement
- From: "robertwessel2@xxxxxxxxx" <robertwessel2@xxxxxxxxx>
- Date: Fri, 28 Dec 2007 15:13:13 -0800 (PST)
On Dec 28, 4:39 pm, Martin Griffith <mart_in_medina@xxxxxxxx> wrote:
" how big can I make the switch statement?"
Whats the limit?
I'm using the rasionance C compiler.
The C standard (C89/90) requires that the implementation support at
least 257 labels in a switch statement. This is unlikely to be an
issue for an 8052. Your compiler's conformance to the C standard is
unfortunately a different issue, which you'll have to take up with the
vendor.
.
- Follow-Ups:
- Re: 8051 and a C switch statement
- From: Stefan Reuther
- Re: 8051 and a C switch statement
- From: Hans-Bernhard Bröker
- Re: 8051 and a C switch statement
- References:
- 8051 and a C switch statement
- From: Martin Griffith
- 8051 and a C switch statement
- Prev by Date: Re: 8051 and a C switch statement
- Next by Date: Re: 8051 and a C switch statement
- Previous by thread: Re: 8051 and a C switch statement
- Next by thread: Re: 8051 and a C switch statement
- Index(es):
Relevant Pages
|