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 Sep 29 22:54:50 CEST 2005
    Subject: [cvs-checkins] MODIFIED: hpc-16 ...
    Top
    Date: 00/05/09 29:22:54

    Added: hpc-16/impl0/asm prog1.txt
    Log:
    added new testbench




    Revision Changes Path
    1.1 hpc-16/impl0/asm/prog1.txt

    http://www.opencores.org/cvsweb.shtml/hpc-16/impl0/asm/prog1.txt?rev=1.1&content-type=text/x-cvsweb-markup

    Index: prog1.txt
    ===================================================================
    ################################
    ## this program test:
    ## mov, li and hlt instructions
    ################################
    0:li r0, 5555h
    4:mov r1, r0
    6:mov sp, r1
    8:mov r5, sp
    10:hlt

    ################################
    ## binary conversion
    ################################
    #
    #li r0, 5555h
    0:01001_001_0000_0000
    2:0101_0101_0101_0101

    #mov r1, r0
    4:00000_001_0001_0000

    #mov sp, r1
    6:00000_010_0000_0001

    #mov r5, sp
    8:00000_100_0101_0000

    #hlt
    10:11111_000_0000_0000


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