CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Apprentice123

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    5,632

    Ejb + Jsf

    I'm starting with EJB. I can insert and list from a database but I can not delete records.

    My entity:

    import javax.persistence.Column;
    import javax.persistence.Entity;
    import...
  2. Replies
    0
    Views
    417

    Algorithm Help

    About A star Algorithm, I found this example on the Internet:
    http://www.webplantmedia.com/wp-content/uploads/2010/04/main.cpp_.txt

    Game 8puzzle with A* Algorithm.

    In build function:
    Whenever...
  3. Replies
    5
    Views
    1,664

    Re: Ramses -3-

    Thank you very much
  4. Replies
    5
    Views
    1,220

    Re: RAMSES modes of address

    Ok. Thank you
  5. Replies
    5
    Views
    1,220

    Re: RAMSES modes of address

    I can use all four modes of address in the same program?
  6. Replies
    5
    Views
    1,664

    Re: Ramses -3-

    Thanks. But:

    SUB A #1 // Subtract "1" from A
    JZ END // Jump to line with label "END" if A is zero
    ADD B 128 // ADD B with the content of 128
    JMP LOOP // Jump to line with label "LOOP"

    ...
  7. Thread: Ramses

    by Apprentice123
    Replies
    2
    Views
    926

    Re: Ramses

    Yes. Thank you
  8. Replies
    5
    Views
    1,664

    Re: Ramses -3-

    I think it is wrong
  9. Replies
    5
    Views
    1,220

    Re: RAMSES modes of address

    Yes it was. Thank you very much. Later I will solve the problems posted here, if possible of a look there. Thanks
  10. Replies
    5
    Views
    1,220

    RAMSES modes of address

    How works the four modes of address in RAMSES ?
    Direct, Indirect, Immediate and Indexed
    If possible, an example with the four modes
  11. Replies
    1
    Views
    875

    Matrix (c language)

    I want to make a function to fill a matrix. The function receives the number of rows and columns and returns the matrix (User fills in the matrix). I have to use pointer?
  12. Replies
    5
    Views
    1,664

    Ramses -3-

    Make a program in RAMSES to multiply the contents of the position 128 by content of the position 129, putting the result in positions 130 and 131 (big-endian).


    My solution

    LDR A #1
    ADD A 129...
  13. Replies
    0
    Views
    766

    Ramses -2-

    Make a program in RAMSES that determine the highest value among the contents of the memory positions of 130 to 145, putting the result at address 128


    LDR A 130
    STR A 128
    LDR x #16

    LOOP:
    ...
  14. Thread: Ramses

    by Apprentice123
    Replies
    2
    Views
    926

    Ramses

    Develop a program in RAMSES which calculates the average values between 130 and 133 addresses, putting the result at 128


    It is correct ?

    LDR A 130
    ADD A 131
    ADD A 132
    ADD A 133...
  15. Thread: Neander

    by Apprentice123
    Replies
    7
    Views
    2,621

    Re: Neander

    Ok. Thank you
  16. Thread: Neander

    by Apprentice123
    Replies
    7
    Views
    2,621

    Re: Neander

    NOT -> not reverse the numbers in binary ?

    Acc = 0101
    Not Acc = 1010

    ?

    Doing nothing not is NOP ?
  17. Thread: Neander

    by Apprentice123
    Replies
    7
    Views
    2,621

    Re: Neander

    Yes I wonder what makes the program, especially the part of the jump
  18. Thread: Neander

    by Apprentice123
    Replies
    7
    Views
    2,621

    Re: Neander

    example

    What makes this program?

    BEGIN:
    LDA 130
    NOT
    ADD 130
    ADD 128
    JN END1
  19. Thread: Neander

    by Apprentice123
    Replies
    7
    Views
    2,621

    Neander

    What are the instructions in Neander ?

    Have example ?
  20. Thread: Memory

    by Apprentice123
    Replies
    5
    Views
    1,187

    Re: Memory

    I am asking for help, can not?
  21. Thread: Memory

    by Apprentice123
    Replies
    5
    Views
    1,187

    Re: Memory

    LOAD mem(0) ACC <-- B
    ADD mem(1) ACC <-- B+C
    DIV mem(2) ACC <-- (B+C)/D


    as do the multiplication separately and then add?

    The commands I know are:
    LOAD
    STORE
  22. Thread: Memory

    by Apprentice123
    Replies
    5
    Views
    1,187

    Memory

    I am not asking that they resolved to me. I would like an explanation of how to solve this problem.

    Consider the expression
    A = (B+C)/D + E*C

    where A, B, C, D, E are variables in memory....
  23. Thread: Hamming

    by Apprentice123
    Replies
    1
    Views
    1,191

    Hamming

    After a memory access is the reading 0E3Fh. Whereas it was encrypted by Hamming and parity to detect two errors, considering parity (type pair) occupies the least significant bit of word. What is the...
  24. Replies
    1
    Views
    740

    scalar and vector products.

    Make a program that read two three-dimensional vector and return the scalar and vector products.
  25. Thread: matrix

    by Apprentice123
    Replies
    2
    Views
    633

    matrix

    Make a program that read the contents of two matrices and return a matrix with the result of the multiplication
Results 1 to 25 of 25





Click Here to Expand Forum to Full Width

Featured