LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Thu Oct 20 01:10:56 CEST 2005
    Subject: [cvs-checkins] MODIFIED: or1k ...
    Top
    Date: 00/05/10 20:01:10

    Modified: or1k/or1ksim/cpu/common abstract.c
    Log:
    usability improvments


    Revision Changes Path
    1.100 or1k/or1ksim/cpu/common/abstract.c

    http://www.opencores.org/cvsweb.shtml/or1k/or1ksim/cpu/common/abstract.c.diff?r1=1.99&r2=1.100

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: abstract.c
    ===================================================================
    RCS file: /cvsroot/phoenix/or1k/or1ksim/cpu/common/abstract.c,v
    retrieving revision 1.99
    retrieving revision 1.100
    diff -u -b -r1.99 -r1.100
    --- abstract.c 5 Sep 2005 08:47:32 -0000 1.99
    +++ abstract.c 19 Oct 2005 23:10:55 -0000 1.100
    @@ -971,15 +971,22 @@
    int ilen = disasm ? 4 : 16;

    for(i = from; i < to; i += ilen) {
    - PRINTF("%"PRIxADDR": ", i);
    +
    for (j = 0; j < ilen;) {
    if (!disasm) {
    tmp = NULL;
    if (verify_memoryarea(i + j)) {
    struct label_entry *entry;
    entry = get_label(i + j);
    - if (entry)
    - PRINTF("(%s)", entry->name);
    +
    + if (entry) {
    + PRINTF("\n%"PRIxADDR": ", i);
    + PRINTF("\n<%s>:\n", entry->name);
    + PRINTF("%"PRIxADDR": ", i);
    + } else {
    + PRINTF("%"PRIxADDR": ", i);
    + }
    +
    PRINTF("%02"PRIx8" ", eval_direct8(i + j, 0, 0));
    } else PRINTF("XX ");
    j++;
    @@ -992,10 +999,16 @@
    if (verify_memoryarea(i + j)) {
    struct label_entry *entry;
    entry = get_label(i + j);
    - if (entry)
    - PRINTF("(%s)", entry->name);

    - PRINTF(": %08"PRIx32" ", _insn);
    + if (entry) {
    + PRINTF("\n%"PRIxADDR": ", i);
    + PRINTF("<%s>:\n", entry->name);
    + PRINTF("%"PRIxADDR": ", i);
    + } else {
    + PRINTF("%"PRIxADDR": ", i);
    + }
    +
    + PRINTF("%08"PRIx32" ", _insn);
    if (index >= 0) {
    disassemble_insn (_insn);
    PRINTF(" %s", disassembled);



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.