URL
https://opencores.org/ocsvn/t400/t400/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 176 |
Rev 179 |
;; *******************************************************************
|
;; *******************************************************************
|
;; $Id: test.asm,v 1.2 2006-05-15 23:36:16 arniml Exp $
|
;; $Id: test.asm 179 2009-04-01 19:48:38Z arniml $
|
;;
|
;;
|
;; Checks the ADT instruction.
|
;; Checks the ADT instruction.
|
;;
|
;;
|
|
|
;; the cpu type is defined on asl's command line
|
;; the cpu type is defined on asl's command line
|
|
|
org 0x00
|
org 0x00
|
clra
|
clra
|
|
|
;; preload M0 with 0xa
|
;; preload M0 with 0xa
|
smb 0x3
|
smb 0x3
|
rmb 0x2
|
rmb 0x2
|
smb 0x1
|
smb 0x1
|
rmb 0x0
|
rmb 0x0
|
|
|
;; test 0 + 10
|
;; test 0 + 10
|
adt
|
adt
|
ske
|
ske
|
jmp fail
|
jmp fail
|
|
|
;; preload M0 with 0x4
|
;; preload M0 with 0x4
|
rmb 0x3
|
rmb 0x3
|
smb 0x2
|
smb 0x2
|
rmb 0x1
|
rmb 0x1
|
rmb 0x0
|
rmb 0x0
|
|
|
;; test 0xa + 10
|
;; test 0xa + 10
|
adt
|
adt
|
ske
|
ske
|
jmp fail
|
jmp fail
|
|
|
|
|
jmp pass
|
jmp pass
|
|
|
org 0x100
|
org 0x100
|
include "pass_fail.asm"
|
include "pass_fail.asm"
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.