need help in Assingment

This is a discussion on need help in Assingment within the C++ Programming forums, part of the General Programming Boards category; ok...i am a student studying a course called computer system engineering...in australia..i studying a subjkect called microprocesors..I am supose to ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    3

    need help in Assingment

    ok...i am a student studying a course called computer system engineering...in australia..i studying a subjkect called microprocesors..I am supose to write c programme that makes the 7 segment decoder shift and for a keypad to work on it ..and something to do with port A...Does any1 here knows how what source code i need ?and how do i do it?i will post my unfinished programme later..and more info this is general cause im not sure whether anyone knows how to write a programe in c on hardwares..if anyone does pls mesage me i will write in deatil tyvm
    Last edited by Student123; 05-28-2005 at 04:27 AM.

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,807
    Woop?

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    3
    lol right...im just asking about who knows about c programing on hardware...its not like i didnt write my own programme out...i just need help on it since my lecturer is not helping cause he isnt alowed too its procedure..he says by all means seek help outside its part of research...so not to wory about #9 i mean this is considered reserach i haf been looking at google and found nothing...this is the best place i find for soemone to help me understand c programme more.... im not breaking rules am i.I wouldnt seek for more knowledge of c if my lecturer is good enough to help me...we haf to find out how to do it without his guide he deals only with the hardware....but i find c very compicated i hope u ppl understand.

    I Only got as few questions to ask...thats all...i do not expect ppl doing it for me...so dont get me wrong
    Last edited by Student123; 05-28-2005 at 05:33 AM.

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    1,208
    So ask your questions here then.
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

  5. #5
    Registered User
    Join Date
    May 2005
    Posts
    3
    what are the source code for making a counter that counts binary 1-16 that loops..
    I only got that

    for (i=0;i<16;i++);

    and plus i need to asign the bits 00 to atract the appropriate 4 bits...its for the keypad... i know the bits i just need to know how to asign it?do i need to make arrays?i know i need a look up table for this... how do i atach it in the programme?and in a programme how many arays can u have??i have one aray already for the 7segment display..and i haf to make that display shift..i haf programmed in assmbler...and now i need to do it in c
    Last edited by Student123; 05-28-2005 at 06:26 AM.

  6. #6
    Super Moderater.
    Join Date
    Jan 2005
    Posts
    374
    Your lecturer should provide with at least some information to get you started.

    When I did microprocessing most of the programs I started with involved using *assembly* language, perhaps that is where you should start.

    Microprocessing, looks scary to begin with, all those codes in binary or hex and masking of bits, nibbles, etc, but it's actually pretty straight forward.

    The information you need to send to your output devices (port A/B) should be computer dependant. You need to obtain the output addresses from your lecturer.

    So in short- ask your lecturer


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Functions which return a reference
    By Stonehambey in forum C++ Programming
    Replies: 10
    Last Post: 07-05-2008, 01:43 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21