A simple and basic question


Closed Thread
Results 1 to 36 of 36

Hybrid View

  1. #1
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    Don't worry about Alain, he doesn't bite, as long as he takes his meds he's fine. But when he forgets to take them
    Please muzzle him to be sure he won't bite.
    Last edited by Ted's; - 26th June 2008 at 15:36.

  2. #2
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ted's View Post
    Please muzzle him to be sure he won't bite.
    Nah, I think we'll put his medication up to 1000mg of Chlorpromazine

  3. #3
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Wink

    You'll be a new a man in a couple of weeks Alain ...
    Chlorpromazine is used to treat psychotic disorders and symptoms such as hallucinations, delusions, and hostility. Take two tablets twice a day with food.

    Side Effects

    - Shaking (like Parkinson's Disease)
    - Stiffness
    - Restlessness
    - Problems with sex life
    - Decreased appitite

    Shocking side effects with Chlorpromazine -- I don't know what's worse, being schizophrenia or taking Chlorpromazine!

    But I guess that the good news is that you're not schizophrenic Alain, at least I don't think so ...

    Trent Jackson

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Talking

    Hi, Trent

    I really admire your knowledge about those border subjects ...

    Seems you are really used to psychiatric advice.

    One thing is sure : your doubts are really boring ... and have been boring for too long a time.

    Sorry not to be one of the SuperTrent's fans ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Definitely not schizophrenic.

    Trent Jackson
    ____________
    Undergraduate b.tech

  6. #6
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    One thing is sure : your doubts are really boring ... and have been boring for too long a time.

    Sorry not to be one of the SuperTrent's fans ...
    Don't ever try pleading insanity Alain, I guarantee it'll backfire as usual.

    Trent Jackson

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Seems you are really used to psychiatric advice.
    One thing is sure : your doubts are really boring ... and have been boring for too long a time.
    Sorry not to be one of the SuperTrent's fans ...
    Anyone for a SuperTrent-Non-Fan Club?

    Quote Originally Posted by T.Jackson View Post
    Don't ever try pleading insanity Alain, I guarantee it'll backfire as usual.
    Trent Jackson
    Can I point out something (again)?

    Date of Birth:
    February 8, 1977
    Age:
    31
    Biography:
    Fulltime student - Bachelor of Applied Science in IT
    Location:
    Australia
    Interests:
    Cars, Computers, Electronics
    Occupation:
    Currently not employed
    Still?

  8. #8
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post

    Date of Birth:
    February 8, 1977
    Age:
    31
    Biography:
    Fulltime student - Bachelor of Applied Science in IT
    Location:
    Australia
    Interests:
    Cars, Computers, Electronics
    Occupation:
    Currently not employed
    Can I point out something (again)?

    Still?
    You know I really should update my profile on here -- I'm actually no longer doing a science degree (it's beyond my ability), instead I'm now doing the b.tech degree (bachelor of information technology)

    Trent Jackson

  9. #9
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    Nah, I think we'll put his medication up to 1000mg of Chlorpromazine
    How 'bout we get you 1mg of STFU?

  10. #10
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    falingtrea, thank you for your detailed answer. (Un)fortunately I left assembler behind me a few years ago when I started with PBP. And I would like to not go back.

    So do you all agree that it is roughly 3uS per loop as T.Jackson states?

    Offtopic:
    I am sure that T.Jackson has his reasons to react the way he did.

    Coming from his kind of answer compared to all answers in this thread, Acetronics does have mental issues.

    It is something between T.Jackson and Acetronics, and you were not invited to be a freeloader, skimask. So stay out of this.

  11. #11
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ted's View Post
    So do you all agree that it is roughly 3uS per loop ...
    Actually, I think they all agree that you should measure it for yourself.

    instruction execution time
    http://www.picbasic.co.uk/forum/showthread.php?t=365

    And I also think that the Rest of the forum agrees that everyone here needs to calm down.
    I have the complaints to back that up.

    Mellow out! Or stop posting.
    <br>
    DT

  12. #12
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Actually, I think they all agree that you should measure it for yourself.
    I understand your thought. But don't take other people's right to state their view.

  13. #13
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    skimask, happy birthday.

    I created a new code:

    Code:
    Zahl VAR WORD
    DEFINE OSC 20
    WHILE Zahl < 60000
        Zahl = Zahl + 1
    WEND
    There was no lst created but a mac, asm and hex.

    mac:
    Code:
    	NOLIST
    
    LABEL?L macro Label
            RST?RP
        ifdef PM_USED
            LALL
    Label
            XALL
        else
    Label
        endif
        endm
    
    ADD?WCW macro Win, Cin, Wout
        if (Wout == Win)
          if (Cin == 1)
            CHK?RP  Wout
            incf    Wout, F
            btfsc   STATUS, Z
            incf    Wout + 1, F
          else  
            movlw   low (Cin)
            CHK?RP  Wout
            addwf   Wout, F
            if (((Cin) >> 8) == 0)
            btfsc   STATUS, C
            incf    Wout + 1, F
            else
            movlw   (Cin) >> 8
            btfsc   STATUS, C
            addlw   1
            addwf   Wout + 1, F
            endif
          endif
        else
            movlw   low (Cin)
            CHK?RP  Win
            addwf   Win, W
            MOVE?AB Wout
          if (((Cin) >> 8) == 0)
            MOVE?BA Win + 1
            btfsc   STATUS, C
            addlw   1
            MOVE?AB Wout + 1
          else
            movlw   (Cin) >> 8
            btfsc   STATUS, C
            addlw   1
            CHK?RP  Win
            addwf   Win + 1, W
            MOVE?AB Wout + 1
          endif
        endif
        endm
    
    CMPGE?WCL macro Win, Cin, Label
            MOVE?WW Win, R0
            MOVE?CB (Cin) >> 8, R1 + 1
            MOVE?CA low (Cin)
            L?CALL  CMPGE
            BIT?GOTO 0, STATUS, Z, Label
        endm
    CMPGE_USED = 1
    
    GOTO?L macro Label
            L?GOTO  Label
        endm
    
    
    	LIST
    asm:
    Code:
    PM_USED			EQU	1
    
    	INCLUDE	"16F628A.INC"
    
    
    ; Define statements.
    #define		OSC		 20
    
    RAM_START       		EQU	00020h
    RAM_END         		EQU	0014Fh
    RAM_BANKS       		EQU	00003h
    BANK0_START     		EQU	00020h
    BANK0_END       		EQU	0007Fh
    BANK1_START     		EQU	000A0h
    BANK1_END       		EQU	000EFh
    BANK2_START     		EQU	00120h
    BANK2_END       		EQU	0014Fh
    EEPROM_START    		EQU	02100h
    EEPROM_END      		EQU	0217Fh
    
    R0              		EQU	RAM_START + 000h
    R1              		EQU	RAM_START + 002h
    R2              		EQU	RAM_START + 004h
    R3              		EQU	RAM_START + 006h
    R4              		EQU	RAM_START + 008h
    R5              		EQU	RAM_START + 00Ah
    R6              		EQU	RAM_START + 00Ch
    R7              		EQU	RAM_START + 00Eh
    R8              		EQU	RAM_START + 010h
    FLAGS           		EQU	RAM_START + 012h
    GOP             		EQU	RAM_START + 013h
    RM1             		EQU	RAM_START + 014h
    RM2             		EQU	RAM_START + 015h
    RR1             		EQU	RAM_START + 016h
    RR2             		EQU	RAM_START + 017h
    _Zahl            		EQU	RAM_START + 018h
    _PORTL           		EQU	 PORTB
    _PORTH           		EQU	 PORTA
    _TRISL           		EQU	 TRISB
    _TRISH           		EQU	 TRISA
    	INCLUDE	"KKK.MAC"
    	INCLUDE	"PBPPIC14.LIB"
    
    	LABEL?L	L00001	
    	CMPGE?WCL	_Zahl, 0EA60h, L00002
    	ADD?WCW	_Zahl, 001h, _Zahl
    	GOTO?L	L00001
    	LABEL?L	L00002	
    
    	END
    How do you filter out the information needed?

Similar Threads

  1. Newb Question...
    By Perrin` in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 2nd January 2009, 20:49
  2. IF question.
    By Steve Matson in forum General
    Replies: 5
    Last Post: - 23rd November 2007, 03:15
  3. Visual Basic 6 question
    By Christopher4187 in forum Off Topic
    Replies: 5
    Last Post: - 3rd July 2006, 13:06
  4. A simple startup question
    By teilhardo in forum General
    Replies: 6
    Last Post: - 7th January 2006, 20:33
  5. simple newb question
    By PICMAN in forum General
    Replies: 13
    Last Post: - 5th February 2005, 02:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts