max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
tests/sjasmplus_regressions/custom/trd.asm | fkorotkov/sjasmplus | 0 | 40913 | <gh_stars>0
;Note: the input TR-DOS filenames in this test are incorrect, and will be currently truncated as 'label1.txt' -> 'label1.t'. Change this if needed.
;A TR-DOS filename is max. 8 characters, with a single-character extension. http://zx-modules.de/fileformats/hobetaformat.html
device zxspectrum128
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_12352_1269.asm | ljhsiun2/medusa | 9 | 40914 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_12352_1269.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x10d52, %rcx
nop
nop
nop
dec %rsi
mov (%rcx), %r15w
nop
nop
nop
xor $19737, %r8
lea add... |
instructions.asm | gfviegas/oc1-tp2 | 0 | 40916 | add $s0, $t1, $s2
add $t3, $t1, $s3
or $s4, $t0, $t4
sub $t5, $s3, $s1
add $s2, $s3, $ZERO
and $t1, $t2, $s0
|
Library/Text/TextStorage/tsCharClassUtils.asm | steakknife/pcgeos | 504 | 40917 | <filename>Library/Text/TextStorage/tsCharClassUtils.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tsCharClassUtils.asm
AUTHOR: <NAME>, Nov 26, 1991
ROUTINES:
Name Description
-... |
programs/oeis/067/A067558.asm | neoneye/loda | 22 | 40918 | <gh_stars>10-100
; A067558: Sum of squares of proper divisors of n.
; 0,1,1,5,1,14,1,21,10,30,1,66,1,54,35,85,1,131,1,146,59,126,1,274,26,174,91,266,1,400,1,341,131,294,75,615,1,366,179,610,1,736,1,626,341,534,1,1106,50,755,299,866,1,1184,147,1114,371,846,1,1860,1,966,581,1365,195,1744,1,1466,539,1600,1,2551,1,1374,885... |
oeis/317/A317783.asm | neoneye/loda-programs | 0 | 40919 | <gh_stars>0
; A317783: Number of equivalence classes of binary words of length n for the set of subwords {010, 101}.
; Submitted by <NAME>
; 1,1,1,3,7,13,23,41,75,139,257,473,869,1597,2937,5403,9939,18281,33623,61841,113743,209207,384793,707745,1301745,2394281,4403769,8099795,14897847,27401413,50399055,92698313,1704987... |
programs/oeis/081/A081073.asm | karttu/loda | 0 | 40920 | <reponame>karttu/loda
; A081073: Fibonacci(4n+2)+3, or Fibonacci(2n-1)*Lucas(2n+3).
; 4,11,58,380,2587,17714,121396,832043,5702890,39088172,267914299,1836311906,12586269028,86267571275,591286729882,4052739537884,27777890035291,190392490709138,1304969544928660,8944394323791467
mov $2,$0
mul $2,2
mov $0,$2
lpb $0,1
su... |
src/heapcheck.asm | jardafis/CastleEscape | 1 | 40921 | <reponame>jardafis/CastleEscape<filename>src/heapcheck.asm
extern printAttr
public heapCheck
#include "defs.inc"
section CODE_2
; Check if the heap tail pointer has overflowed.
;
; If the heap tail > the heap limit a message
; will be displayed an... |
programs/oeis/248/A248216.asm | jmorken/loda | 1 | 40922 | <reponame>jmorken/loda
; A248216: a(n) = 6^n - 2^n.
; 0,4,32,208,1280,7744,46592,279808,1679360,10077184,60465152,362795008,2176778240,13060685824,78364147712,470184951808,2821109841920,16926659313664,101559956406272,609359739486208,3656158439014400,21936950638280704
mov $3,3
lpb $0
sub $0,1
add $1,$2
mul $1,2
... |
programs/oeis/069/A069981.asm | neoneye/loda | 22 | 40923 | <reponame>neoneye/loda
; A069981: Hermite's problem: number of positive integral solutions to x + y + z = n subject to x <= y + z, y <= z + x and z <= x + y.
; 0,0,0,1,3,3,7,6,12,10,18,15,25,21,33,28,42,36,52,45,63,55,75,66,88,78,102,91,117,105,133,120,150,136,168,153,187,171,207,190,228,210,250,231,273,253,297,276,322... |
programs/oeis/169/A169622.asm | jmorken/loda | 1 | 40925 | ; A169622: a(n) = a(n-1) + Fibonacci(n), a(1)=5.
; 5,6,8,11,16,24,37,58,92,147,236,380,613,990,1600,2587,4184,6768,10949,17714,28660,46371,75028,121396,196421,317814,514232,832043,1346272,2178312,3524581,5702890,9227468,14930355,24157820,39088172,63245989,102334158,165580144,267914299,433494440,701408736,1134903173,183... |
ln.asm | ansumanpalo/xv6-the_project | 0 | 40926 |
_ln: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0xca_notsx.log_21829_796.asm | ljhsiun2/medusa | 9 | 40927 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r14
push %r15
push %r8
push %rsi
// Load
lea addresses_WC+0x34ba, %r10
xor $56970, %r12
mov (%r10), %r14d
sub $40873, %r14
// Store
mov $0x300d87000000011a, %r15
nop
nop
nop
nop
nop
inc %rsi
... |
libsrc/graphics/w_draw.asm | Toysoft/z88dk | 8 | 40928 | <reponame>Toysoft/z88dk
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
; Wide resolution (WORD based parameters) version by <NAME>
;
; $Id: w_draw.asm,v 1.7 2016-10-18 06:52:34 stefano Exp $
;
SECTI... |
libsrc/math/genmath/ceil.asm | andydansby/z88dk-mk2 | 1 | 40929 | ; Small C+ Math Library
; ceil(x)
XLIB ceil
LIB floor
LIB odd
; return -(floor(-x))
.CEIL CALL ODD
jp floor
|
programs/oeis/170/A170122.asm | neoneye/loda | 22 | 40930 | ; A170122: Number of reduced words of length n in Coxeter group on 17 generators S_i with relations (S_i)^2 = (S_i S_j)^38 = I.
; 1,17,272,4352,69632,1114112,17825792,285212672,4563402752,73014444032,1168231104512,18691697672192,299067162755072,4785074604081152,76561193665298432,1224979098644774912,19599665578316398592... |
libsrc/z80_crt0s/z80/sccz80/l_pint_pop.asm | jpoikela/z88dk | 38 | 40931 | <reponame>jpoikela/z88dk<gh_stars>10-100
; Z88 Small C+ Run time Library
; Moved functions over to proper libdefs
; To make startup code smaller and neater!
;
; 23/1/2001 djm
SECTION code_crt0_sccz80
PUBLIC l_pint_pop
EXTERN l_pint
; store int from HL in... |
mc-sema/validator/x86_64/tests/BT32rr.asm | randolphwong/mcsema | 2 | 40932 | <filename>mc-sema/validator/x86_64/tests/BT32rr.asm
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF|FLAG_PF|FLAG_SF|FLAG_AF
;TEST_FILE_META_END
; BT32rr
mov eax, 0x08000000
mov ebx, 27
clc ; clear carry since we will set it
;TEST_BEGIN_RECORDING
bt eax, ebx
;TEST_EN... |
programs/oeis/020/A020545.asm | neoneye/loda | 22 | 40933 | ; A020545: 3rd Bernoulli polynomial evaluated at x=n!.
; 0,0,3,165,12972,1706460,372470760,127985964120,65545882234560,47784528317211840,47784706087589654400,63601467702843268598400,109903339976314925131660800,241457638625928074776576550400
mov $1,2
lpb $0
mul $1,$0
sub $0,1
lpe
bin $1,3
div $1,4
mul $1,3
mov $0,$... |
libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sdcc/NIRVANAP_drawW_raw_callee.asm | grancier/z180 | 0 | 40934 | ; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by <NAME>
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
; void NIRVANAP_drawW_raw(unsigned char tile, unsigned char lin, unsigned char col)
; ... |
Codes/Chapter04/P07/P04-07.asm | ar-ekt/Dandamudi-Assembly-Solutions | 8 | 40935 | <gh_stars>1-10
global _start
extern ExitProcess
%INCLUDE "lib.h"
section .data
newline db 10, 0
inputMSG db 'Please input a decimal number between 0 and 65,535: ', 0
printResult db 'The hex equivalent of ', 0
cont1 db ' is ', 0
prompt db 'Do you want to terminate the program (Y/N): ', 0
section .b... |
libtool/src/gmp-6.1.2/mpn/x86_64/fastsse/copyi-palignr.asm | kroggen/aergo | 278 | 40936 | dnl AMD64 mpn_copyi optimised for CPUs with fast SSE copying and SSSE3.
dnl Copyright 2012, 2013, 2015 Free Software Foundation, Inc.
dnl Contributed to the GNU project by <NAME>.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl ... |
src/bootloader/CPUID.asm | Thombrom/SnekOS | 0 | 40937 | ;
; For detecting the pressence of
; CPUID and Long mode support
;
cpuid_detect:
pushfd ; Push flags to stack
pop eax ; and retrieve in eax
mov ecx, eax ; Store tmp value in ecx for later comparison
xor eax, 1 << 21 ; And flip eax 21 bit
push... |
programs/oeis/000/A000265.asm | neoneye/loda | 22 | 40938 | ; A000265: Remove all factors of 2 from n; or largest odd divisor of n; or odd part of n.
; 1,1,3,1,5,3,7,1,9,5,11,3,13,7,15,1,17,9,19,5,21,11,23,3,25,13,27,7,29,15,31,1,33,17,35,9,37,19,39,5,41,21,43,11,45,23,47,3,49,25,51,13,53,27,55,7,57,29,59,15,61,31,63,1,65,33,67,17,69,35,71,9,73,37,75,19,77,39,79,5,81,41,83,21,8... |
common/demangle.asm | DigitalMars/optlink | 28 | 40939 | <gh_stars>10-100
TITLE DEMANGLE - Copyright (C) SLR Systems 1992
INCLUDE MACROS
.CODE PASS2_TEXT
DEMANGLE PROC
;
;TAKE STRING IN DS:SI AND DEMANGLE IT INTO ES:DI
;DS AND ES ARE DGROUP...
;
MOV AL,2[SI]
MOV CX,[SI]
CMP AL,'?'
JNZ 9$
ADD SI,3
DEC CX
|
asm/stage2/Copy (2) of stage2.asm | ZopharsDomain/PCX86-JAVASCRIPT-jemul8 | 67 | 40941 | org 0
; Use Code segment as Data segment
push cs
pop ds
mov si, textError
call DisplayMessageZ
mov si, textNewline
call DisplayMessageZ
mov si, textError
mov cx, 4
call DisplayMessageX
HANG:
jmp HANG
; Message is at DS:SI, read up to NUL char
DisplayMessageZ:
lodsb ; load next c... |
programas/ensamblador/funciones_booleanas_2.asm | AdolfoMX/La-Biblioteca | 0 | 40942 | ; funciones booleanas parte 2
; Conversión de un carácter de mayúscula a minúscula
;------------- Seccion de datos -------------
section .bss
resultado resb 1 ; reserva de memoria de un byte
;------------- Seccion de texto -------------
section .text
global _start
_start:
mov bl, 'A' ; se a... |
_maps/Jaws.asm | kodishmediacenter/msu-md-sonic | 9 | 40943 | <filename>_maps/Jaws.asm
; ---------------------------------------------------------------------------
; Sprite mappings - Jaws enemy (LZ)
; ---------------------------------------------------------------------------
Map_Jaws_internal:
dc.w @open1-Map_Jaws_internal
dc.w @shut1-Map_Jaws_internal
dc.w @open2-Map_Ja... |
programs/oeis/336/A336808.asm | neoneye/loda | 22 | 40945 | <reponame>neoneye/loda<gh_stars>10-100
; A336808: a(n) = (n!)^2 * Sum_{k=0..n} 5^(n-k) / (k!)^2.
; 1,6,121,5446,435681,54460126,9802822681,2401691556846,768541298190721,311259225767242006,155629612883621003001,94155915794590706815606,67792259372105308907236321,57284459169428986026614691246,56138769986040406306082397421... |
libsrc/ctype/ispunct.asm | andydansby/z88dk-mk2 | 1 | 40948 | <reponame>andydansby/z88dk-mk2
;
; Small C z88 Character functions
; Written by <NAME> <<EMAIL>>
;
; 1/3/99 djm
;
; Hurrah, this is our first table for our isxxx routines!
;
; $Id: ispunct.asm,v 1.4 2008/06/29 06:38:24 aralbrec Exp $
;
XLIB ispunct
LIB asm_ispunct
; FASTCALL
.ispunct
ld a,l
call asm_ispunct
... |
software/profi/net-tools/src/pqdos/wget/uno-uart.asm | andykarpov/karabas-pro | 26 | 40949 | UART_DATA_REG = #c6
UART_STAT_REG = #c7
UART_BYTE_RECIVED = #80
UART_BYTE_SENDING = #40
SCANDBLCTRL_REG = #0B
ZXUNO_ADDR = #FC3B
ZXUNO_REG = #FD3B
; Enable UART
; Cleaning all flags by reading UART regs
; Wastes AF and BC
uartBegin:
ld bc, ZXUNO_ADDR : ld a, UART_STAT_REG : out (c), a
ld bc, ZXUNO_REG : in A,... |
programs/oeis/191/A191558.asm | karttu/loda | 1 | 40950 | ; A191558: a(n) = 0 if n prime, otherwise n.
; 1,0,0,4,0,6,0,8,9,10,0,12,0,14,15,16,0,18,0,20,21,22,0,24,25,26,27,28,0,30,0,32,33,34,35,36,0,38,39,40,0,42,0,44,45,46,0,48,49,50,51,52,0,54,55,56,57,58,0,60,0,62,63,64,65,66,0,68,69,70,0,72,0,74,75,76,77,78,0,80,81,82,0,84,85,86,87,88,0,90,91,92,93,94,95,96,0,98,99,100,0,... |
oeis/179/A179077.asm | neoneye/loda-programs | 11 | 40951 | <filename>oeis/179/A179077.asm
; A179077: a(n) is the residue ((2^p - 2)/p) mod p, where p is the n-th prime.
; Submitted by <NAME>(s2)
; 1,2,1,4,10,6,9,6,11,2,12,2,5,7,41,19,16,11,20,4,39,38,13,12,17,83,15,26,25,53,36,34,106,60,43,112,7,134,94,6,100,115,100,15,153,71,7,155,175,136,14,52,43,243,193,256,251,218,140,148,... |
programs/oeis/181/A181065.asm | neoneye/loda | 22 | 40952 | <filename>programs/oeis/181/A181065.asm
; A181065: a(n)=(F(n)-sumofdigits(F(n)))/9, where F(n) = A000045(n).
; 0,0,0,0,0,0,0,1,2,3,5,8,15,25,40,67,107,175,285,463,749,1214,1966,3181,5149,8334,13486,21821,35310,57134,92447,149582,242031,391616,633650,1025270,1658925,2684198,4343125,7027327,11370459,18397790,29768250
se... |
linked_list.asm | danielzy95/MIPS-Random | 0 | 40954 | .text
# Linked List:
# First - 4 Bytes
# Size - 4 Bytes
# Linked List Element:
# Value - 4 Bytes
# Next - 4 Bytes
main:
# Create New Linked List
jal new_list
move $s0, $v0 # Store new_list address in local variable
# Insert New Element
move $a0, $s0
li $a1, 500
jal insert
li $a1, 120
jal insert
l... |
oeis/164/A164543.asm | neoneye/loda-programs | 11 | 40957 | ; A164543: a(n) = 10*a(n-1) - 17*a(n-2) for n > 1; a(0) = 1, a(1) = 17.
; Submitted by <NAME>
; 1,17,153,1241,9809,76993,603177,4722889,36974881,289459697,2266023993,17739425081,138871842929,1087148202913,8510660699337,66625087543849,521569643549761,4083069947252177,31964015532175833,250227966218471321,1958891398137724... |
cwiczenia2/plus3_c.asm | adamczykpiotr/AGH_WIMiIP_Architektury_Komputerow | 1 | 40958 | extern printf
section .data
liczba dd 2
format db "%d",10,0
section .text
global main
main:
xor rax, rax
mov rdi, format
mov rsi, [liczba]
call printf
add dword [liczba], 3
cmp dword [liczba], 14
jbe main
mov rax, 1
mov rbx, 0
int 80h
|
data/baseStats_original/togekiss.asm | adhi-thirumala/EvoYellow | 16 | 40959 | <gh_stars>10-100
;TogekissBaseStats: ; 38582 (e:4582)
db DEX_TOGEKISS ; pokedex id
db 85 ; base hp
db 50 ; base attack
db 95 ; base defense
db 80 ; base speed
db 120 ; base special
db FAIRY ; species type 1
db FLYING ; species type 2
db 34 ; catch rate
db 220 ; base exp yield
INCBIN "pic/ymon/togekiss.pic",0,1 ; 55, sp... |
boot/disk.asm | BuzzHari/BuzzOs | 0 | 40961 | ; load 'dh' sectors from drive 'dl' into ES:BX
disk_load:
; reading from disk requires setting specific values in all registers
; so we will overwrite our input parameters from 'dx'.
pusha
push dx
mov ah, 0x02 ; 0x02 = read sectors mov al, dh mov cl, 0x02 ; cl <- sector (0x01...0x11) ; 0x01 i... |
programs/oeis/203/A203292.asm | karttu/loda | 0 | 40962 | ; A203292: Number of arrays of 4 nondecreasing integers in -n..n with sum zero and equal numbers greater than zero and less than zero.
; 3,6,12,21,35,54,80,113,155,206,268,341,427,526,640,769,915,1078,1260,1461,1683,1926,2192,2481,2795,3134,3500,3893,4315,4766,5248,5761,6307,6886,7500,8149,8835,9558,10320,11121,11963,1... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_351.asm | ljhsiun2/medusa | 9 | 40964 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1973a, %rsi
lea addresses_A_ht+0x487e, %rdi
nop
nop
nop
nop
nop
xor %r12, %r12
mov $20, %rcx
rep movsb
nop
sub $42676, %r14
lea addresses_normal_ht... |
programs/oeis/001/A001750.asm | neoneye/loda | 22 | 40965 | ; A001750: Primes multiplied by 5.
; 10,15,25,35,55,65,85,95,115,145,155,185,205,215,235,265,295,305,335,355,365,395,415,445,485,505,515,535,545,565,635,655,685,695,745,755,785,815,835,865,895,905,955,965,985,995,1055,1115,1135,1145,1165,1195,1205,1255,1285,1315,1345,1355,1385,1405,1415,1465,1535,1555,1565,1585,1655,16... |
Assembler/AssemblyCode/CARRY_FLAG.asm | KPU-RISC/KPU | 8 | 40966 | ; Initialize the stack pointer and the base pointer
MOV XL, 0xFF
MOV XH, 0xFF
MOV SP, X
MOV XL, 0
MOV XH, 0
MOV BP, X
; Perform an addition
; Carry-Flag is not set
MOV D, 5
MOV E, 3
ADD D, E
PUSHF
; Perform an addition
; Carry-Flag is set
MOV D, 11111110b
MOV E, 3
ADD D, E
PUSHF
; Perform a subtraction
; Carry-Flag ... |
Virus.Win32.FridaySectoriate/base64.asm | 010001111/Vx-Suites | 2 | 40967 | <gh_stars>1-10
;*******************************************************************************;
; base64.asm, v 0.1 12.11.2000
; ~~~~~~~~~~
;
; written by: caspar
; group: /CookieCrk/
;
; contact: <EMAIL>
; <EMAIL>
;
; visit us at: http://www.cookiecrk.org
;
;
; base64.asm
;
; usage: see test.asm
;
; output: ... |
Userland/CodeModule/syscalls.asm | Matuteale/tp2-so-2016 | 0 | 40968 | GLOBAL read
GLOBAL write
GLOBAL read_system_time
GLOBAL set_system_time
GLOBAL change_color
GLOBAL clear_screen
GLOBAL set_ss_timer
GLOBAL timer_tick
GLOBAL play_music_sys
GLOBAL play_beep_sys
GLOBAL ps_sys
GLOBAL sys_addProcess
GLOBAL sys_killProcess
GLOBAL sys_getActivePID
%macro pushaq 0
push rax
push rbx
... |
data/baseStats_weird/goldeen_alt.asm | longlostsoul/EvoYellow | 16 | 40969 | <reponame>longlostsoul/EvoYellow<gh_stars>10-100
db DEX_GOLDEEN ; pokedex id
db 45 ; base hp
db 67 ; base attack
db 60 ; base defense
db 63 ; base speed
db 50 ; base special
db WATER ; species type 1
db FIRE ; species type 2
db 225 ; catch rate
db 111 ; base exp yield
INCBIN "pic/ymon/goldeen.pic",0,1 ; 66, sprite dime... |
test/backflip.asm | snuggles08/snuggles08.github.io | 0 | 40970 | <reponame>snuggles08/snuggles08.github.io
org $00D65E
autoclean JSL hijack
NOP #6
freecode
hijack:
LDA.B #$01 ; \ Play sound effect
STA.W $1DFA ; / Jump IIRC
LDA $73
CMP #$00
BNE flip
LDA.W $00D2BD,X ; \ Oh look, the X speed determines the "gravity"
STA $7D ; /
RTL
freecode
flip:
PHK
PEA.w .jslrtsreturn-1
P... |
libvig/kernel/asm/boot.asm | axelmarmet/vigor | 0 | 40971 | <filename>libvig/kernel/asm/boot.asm
global start
extern main
extern nfos_halt
; We claim that executing the code in this file leads to one and only one of 3
; outcomes:
; 1. the CPU halts;
; 2. the CPU raises a triple fault exception and resets;
; 3. the main() function is invoked and all of the following condi... |
bin/JWASM/Samples/Linux4d.asm | Abd-Beltaji/ASMEMU | 3 | 40972 |
;--- this is the source for shared lib Linux4d.so
;--- assemble: jwasm -elf -Fo=Linux4d.o Linux4d.asm
;--- link: ld -s -shared -o Linux4d.so Linux4d.o
;--- link: ld -s -shared -soname libLinux4d.so.1 -o libLinux4d.so.1.0 Linux4d.o
.386
.model flat
.data
string0 db "string 0",0
string1 db "string... |
programs/oeis/134/A134668.asm | jmorken/loda | 1 | 40973 | <filename>programs/oeis/134/A134668.asm
; A134668: Period 6: repeat [1, -1, 0, 0, -1, 1].
; 1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1,1,-1,0,0,-1,1
mul $0,136
div $0,12
gcd $0,4
div $0,2
mov $1... |
1571/64tass/lccfmt3.asm | silverdr/assembly | 23 | 40974 | <reponame>silverdr/assembly
;
;
;
;* format done, now verify it
;
;
;
lda #200 ; look at 200 syncs
sta trys
;
comp lda #0 ; pointer into headers
sta bufpnt
;
lda #>buff0
sta bufpnt+1
;
lda sectr ; sector counter
sta sect
;
cmpr10... |
programs/oeis/164/A164120.asm | jmorken/loda | 1 | 40975 | <filename>programs/oeis/164/A164120.asm
; A164120: Partial sums of A162396.
; 5,7,17,21,41,49,89,105,185,217,377,441,761,889,1529,1785,3065,3577,6137,7161,12281,14329,24569,28665,49145,57337,98297,114681,196601,229369,393209,458745,786425,917497,1572857,1835001,3145721,3670009,6291449,7340025,12582905,14680057,25165817... |
kdevice32.asm | satadriver/LiunuxOS_t | 0 | 40976 | <gh_stars>0
.386p
Kernel Segment public para use32
assume cs:Kernel
;parm:dststr
__strCmosTimer proc
push ebp
mov ebp,esp
push edi
push edx
sub esp,40h
mov edi,ss:[ebp+8]
cld
mov al,32h
call __getCmosTimerAsc
stosw
mov al,9
call __getCmosTimerAsc
stosw
mov al,'/'
stosb
mov al,8
call __getCmosTimerAsc
stosw
m... |
1-source-files/main-sources/revs-silverstone.asm | markmoxon/revs-beebasm | 11 | 40978 | \ ******************************************************************************
\
\ REVS SILVERSTONE TRACK SOURCE
\
\ Revs was written by <NAME> and is copyright Acornsoft 1985
\
\ The code on this site has been reconstructed from a disassembly of the
\ original game binaries
\
\ The commentary is copyright <NAME>, an... |
lib/crt/classic/crt_section.asm | rjcorrig/z88dk | 0 | 40979 | <filename>lib/crt/classic/crt_section.asm
; Memory map and section setup
;
; Contains the generic variables + features
;
; crt_model = 0 ; everything in RAM
; crt_model = 1 ; ROM model, data section copied
; crt_model = 2 ; ROM model, data section compressed
; Include the default memory map. You can override this
... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_21829_348.asm | ljhsiun2/medusa | 9 | 40980 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x5f73, %r9
nop
cmp $48853, %rax
movb (%r9), %r13b
nop
nop
nop
cmp %rcx, %rcx
lea addresses_WC_ht+0x7a3, %rdi
nop
nop
nop
nop
and $9697, %r10
movb (%rdi), %r15b
nop
nop
nop
inc ... |
internal/bootroms/cgb_boot.asm | ArcticXWolf/AXWGameboy | 5 | 40981 | <reponame>ArcticXWolf/AXWGameboy
; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like t... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_f_ftrunc_callee.asm | jpoikela/z88dk | 640 | 40983 | <reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_f_ftrunc_callee.asm
; unsigned char esx_f_ftrunc(unsigned char handle, uint32_t size)
SECTION code_esxdos
PUBLIC _esx_f_ftrunc_callee
EXTERN asm_esx_f_ftrunc
_esx_f_ftrunc_callee:
pop hl
dec sp
pop af
pop de
pop bc
... |
libsrc/target/trs80/grafyx/w_pointxy.asm | ahjelm/z88dk | 640 | 40984 | ;
; Micro-Labs Grafyx Solution Hi-Rez graphics routines for TRS-80
;
; <NAME> 2021
;
INCLUDE "graphics/grafix.inc"
SECTION code_clib
PUBLIC w_pointxy
;EXTERN l_cmp
;EXTERN w_pixeladdress
;EXTERN __gfx_coords
;
; $Id: w_pointxy.asm $
;
; **... |
programs/oeis/060/A060188.asm | karttu/loda | 1 | 40985 | <reponame>karttu/loda<filename>programs/oeis/060/A060188.asm
; A060188: A column and diagonal of A060187.
; 1,6,23,76,237,722,2179,6552,19673,59038,177135,531428,1594309,4782954,14348891,43046704,129140145,387420470,1162261447,3486784380,10460353181,31381059586,94143178803,282429536456,847288609417,2541865828302,76255... |
oeis/261/A261391.asm | neoneye/loda-programs | 11 | 40986 | ; A261391: a(n) = n^5 + 5*n^3 + 5*n.
; 0,11,82,393,1364,3775,8886,18557,35368,62739,105050,167761,257532,382343,551614,776325,1069136,1444507,1918818,2510489,3240100,4130511,5206982,6497293,8031864,9843875,11969386,14447457,17320268,20633239,24435150,28778261,33718432,39315243,45632114,52736425,60699636,69597407,795097... |
asm/garbage_collection.asm | coalpha/coalpha.github.io | 0 | 40987 | .386
.model flat, stdcall
option casemap: none
include <windows.inc>
include <ntdll.inc>
includelib <ntdll.lib>
false = 0
true = 1
nullptr = 0
OptionShutdownSystem = 6
SeShutdownPrivilege = 19
.data?
res dword ?
.code
main:
invoke RtlAdjustPrivilege \
, SeShutdownPrivilege \
, true ... |
Driver/IFS/DOS/NetWare/netwareEntry.asm | steakknife/pcgeos | 504 | 40989 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: netwareEntry.asm
AUTHOR: <NAME>, Mar 29, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descr... |
libsrc/_DEVELOPMENT/l/sccz80/9-common/l_gint.asm | ahjelm/z88dk | 640 | 40990 | ; Z88 Small C+ Run time Library
; l_gint variant to be used sometimes by the peephole optimizer
;
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_gint
l_gint:
ld a,(hl+)
ld h,(hl)
ld l,a
ret
|
Source/Kernel/BootLoad/Intel/Intel.asm | collinsmichael/spartan | 16 | 40991 |
; compile with fasm.exe: (https://flatassembler.net/)
; fasm Intel.asm Intel.obj
;
; this is a dumping ground for privileged opcodes
; which cannot be inlined with a msvc compiler
format ms coff
section '.text' code readable executable
public _cpuid
_cpuid: mov eax, [esp+0x04]
... |
data/maps/blocks.asm | pokeachromicdevs/pokeoctober | 1 | 40994 | SECTION "Map Blocks 1", ROMX
Route32_Blocks:
INCBIN "maps/Route32.blk"
Route40_Blocks:
INCBIN "maps/Route40.blk"
Route36_Blocks:
INCBIN "maps/Route36.blk"
Route44_Blocks:
INCBIN "maps/Route44.blk"
Route28_Blocks:
INCBIN "maps/Route28.blk"
BetaPlayersHouse2F_Blocks:
INCBIN "maps/unused/BetaPlayersHouse2F.blk... |
programs/oeis/162/A162740.asm | karttu/loda | 0 | 40995 | ; A162740: Number of reduced words of length n in Coxeter group on 4 generators S_i with relations (S_i)^2 = (S_i S_j)^3 = I.
; 1,4,12,30,72,168,390,900,2076,4782,11016,25368,58422,134532,309804,713406,1642824,3783048,8711526,20060676,46195260,106377294,244963080,564094968,1298984214,2991269124,6888221772,15862029150,3... |
oeis/214/A214546.asm | neoneye/loda-programs | 11 | 40996 | <filename>oeis/214/A214546.asm
; A214546: First differences of A140472.
; Submitted by <NAME>
; 1,1,0,2,-1,1,0,4,-3,1,0,2,-1,1,0,8,-7,1,0,2,-1,1,0,4,-3,1,0,2,-1,1,0,16,-15,1,0,2,-1,1,0,4,-3,1,0,2,-1,1,0,8,-7,1,0,2,-1,1,0,4,-3,1,0,2,-1,1,0,32,-31,1,0,2,-1,1,0,4,-3,1,0,2,-1,1,0,8,-7,1,0,2,-1,1,0,4,-3,1,0,2,-1,1,0,16,-15,... |
MaterialDeAuxilo/MIPS-MC_SingleEdge/ArquivosTeste/mult_div.asm | viniCerutti/T1-Organizacao-e-Arquitetura-de-Computadores-II | 0 | 40997 | <reponame>viniCerutti/T1-Organizacao-e-Arquitetura-de-Computadores-II
.text
.globl main
main:
la $t0,M1
lw $t0,0($t0)
la $t1,M2
lw $t1,0($t1)
multu $t0,$t1... |
test/utest_countdown.asm | Fabian-Schneider01/Virtual-Piano | 1 | 40998 | <gh_stars>1-10
#this test checks the draw methods of draw_countdown.asm
#first all numbers are drawn with only one color (not deleted afterwards) -> will look like an 8 in 7 digit display
#afterwards the numbers of draw_countdown.asm are being drawn
#when 5 second countdown is finished, the complete screen should be cl... |
oeis/169/A169642.asm | neoneye/loda-programs | 11 | 40999 | <reponame>neoneye/loda-programs
; A169642: a(n) = A005408(n) * A022998(n).
; 0,3,20,21,72,55,156,105,272,171,420,253,600,351,812,465,1056,595,1332,741,1640,903,1980,1081,2352,1275,2756,1485,3192,1711,3660,1953,4160,2211,4692,2485,5256,2775,5852,3081,6480,3403,7140,3741,7832,4095,8556,4465,9312,4851,10100,5253,10920,567... |
programs/oeis/200/A200249.asm | karttu/loda | 0 | 41000 | <reponame>karttu/loda<filename>programs/oeis/200/A200249.asm
; A200249: Number of 0..5 arrays x(0..n-1) of n elements with each no smaller than the sum of its previous elements modulo 6.
; 6,21,75,267,951,3387,12063,42963,153015,544971,1940943,6912771,24620199,87686139,312298815,1112268723,3961403799,14108748843,502490... |
data/pokemon/base_stats/tyrogue.asm | AtmaBuster/pokeplat-gen2 | 6 | 41001 | <reponame>AtmaBuster/pokeplat-gen2<filename>data/pokemon/base_stats/tyrogue.asm
db 0 ; species ID placeholder
db 35, 35, 35, 35, 35, 35
; hp atk def spd sat sdf
db FIGHTING, FIGHTING ; type
db 75 ; catch rate
db 91 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 25 ; step c... |
EP1 - Rodando a baiana/cos.asm | mateuslatrova/TecnicasDeProgramacao1 | 0 | 41002 | # Função que calcula o cosseno de um dado ângulo
# - Entrada: $f12 : float (ângulo)
# - Saída: $f0: float (o valor do cosseno do ângulo)
cosseno: add $s0, $zero, -1 # k = s0 = -1
mtc1 $zero, $f10 # f10: valor de 0 em float
sub $sp, $sp, 8
sw $ra, 0($sp)
swc1 $f3, 4($sp)
# 0) Adeq... |
oeis/186/A186415.asm | neoneye/loda-programs | 11 | 41003 | <reponame>neoneye/loda-programs<filename>oeis/186/A186415.asm
; A186415: a(n) = binomial(2n,n)^3/(n+1).
; 1,4,72,2000,68600,2667168,112698432,5053029696,236860767000,11493303192800,573327757086656,29253930349198464,1521079361361956032,80361335659444000000,4304087536829486400000,233271979857187430688000,1277464255868652... |
gfx/PieceEditorUI.asm | tbsp/Adjustris | 11 | 41004 | <reponame>tbsp/Adjustris<filename>gfx/PieceEditorUI.asm<gh_stars>10-100
; PIECEEDITORUI.Z80
;
; Tile Source File.
;
; Info:
; Section : Tiles
; Bank : 0
; Form : All tiles as one unit.
; Format : Gameboy 4 color.
; Compression : None... |
src/0x00.asm | yoshuawuyts/spec-x86 | 2 | 41006 | <reponame>yoshuawuyts/spec-x86<filename>src/0x00.asm
segment .text
global _start
_start:
xor eax, eax
lea rbx, [0]
; loop $
mov rdx, 0
and esi, 0
sub edi, edi
push 0
pop rbp
|
text/maps/ss_anne_1.asm | adhi-thirumala/EvoYellow | 16 | 41008 | _SSAnne1Text1::
text "Bonjour!"
line "I am le waiter on"
cont "this ship!"
para "I will be happy"
line "to serve you any-"
cont "thing you please!"
para "Ah! Le strong"
line "silent type!"
done
_SSAnne1Text2::
text "The passengers"
line "are restless!"
para "You might be"
line "challenged by the"
cont... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1129.asm | ljhsiun2/medusa | 9 | 41011 | .global s_prepare_buffers
s_prepare_buffers:
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x7183, %rsi
lea addresses_A_ht+0x1c753, %rdi
nop
and $40690, %rbx
mov $124, %rcx
rep movsl
nop
nop
nop
nop
nop
and %rdx, %rdx
lea addresses_normal_ht+0x6183, %rsi
lea addresses_WT_ht+0... |
Working Disassembly/Levels/FBZ/Misc Object Data/Map - Chain Link.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 41013 | dc.w word_3ADA8-Map_FBZChainLink
dc.w word_3ADBC-Map_FBZChainLink
dc.w word_3ADD6-Map_FBZChainLink
dc.w word_3ADF6-Map_FBZChainLink
dc.w word_3AE1C-Map_FBZChainLink
dc.w word_3AE48-Map_FBZChainLink
dc.w word_3AE7A-Map_FBZChainLink
dc.w word_3AEB2-Map_FBZChainLink
dc.w word_3AEF0-Map_FBZChainLink
dc.... |
Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0x48_notsx.log_21829_591.asm | ljhsiun2/medusa | 9 | 41015 | <filename>Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0x48_notsx.log_21829_591.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r8
push %r9
push %rcx
// Faulty Load
lea addresses_A+0x12b24, %r10
clflush (%r10)
sub %r9, %r9
movb (%r10), %r12b... |
data/ui/playercontrols_container_ui_defs.asm | SavagePencil/TriloTrackerSMSReplayerApp | 0 | 41016 | .IFNDEF __PLAYERCONTROLS_CONTAINER_UI_DEFS_ASM__
.DEFINE __PLAYERCONTROLS_CONTAINER_UI_DEFS_ASM__
PlayerControls_Container_UIDefs:
@PlayButton:
; Upper-left loc in the nametable for this button
; NAME COL ROW
DEFINE_NAMETABLE_LOC MAIN_MENU_NAMETABLE_LOC_BUTTON_PLAY, ... |
oeis/122/A122007.asm | neoneye/loda-programs | 11 | 41017 | <reponame>neoneye/loda-programs
; A122007: Expansion of 2*x^2*(1-2*x) / ((3*x-1)*(3*x^2-1)).
; 0,2,2,12,24,90,234,756,2160,6642,19602,59292,176904,532170,1593594,4785156,14346720,43053282,129133602,387440172,1162241784,3486843450,10460294154,31381236756,94143001680,282430067922,847288078002,2541867422652,7625595890664,... |
Test/Z80/EMUF/EMUF.asm | sparks-c16/zasm | 43 | 41018 | <gh_stars>10-100
#!/usr/local/bin/zasm -o ../original/
#target rom
; Z80-EMUF
; --------
;
; Ein einfaches, benutzbares, emuliertes Z80-System, bestehend aus:
; very simple serial emulation:
; only data register, no control register
; read: 0xFF no data
; 0x20-0xFE ascii character
; write: 0x20-0xFE ascii cha... |
programs/oeis/317/A317542.asm | neoneye/loda | 22 | 41019 | ; A317542: Formal inverse of the period-doubling sequence A096268.
; 0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0
lpb $0
sub $0,1
sub $2,2
sub $0,$2
dif $0,... |
oeis/199/A199825.asm | neoneye/loda-programs | 11 | 41020 | <reponame>neoneye/loda-programs
; A199825: Number of -1..1 arrays x(0..n+1) of n+2 elements with zero sum and no two neighbors summing to zero
; Submitted by <NAME>
; 2,4,4,10,22,34,66,138,250,472,944,1806,3450,6772,13172,25478,49794,97348,189772,371246,727506,1424586,2793034,5483342,10766950,21154424,41599648,81840866... |
memory_map/boot.asm | ilya101010/asm_studies | 1 | 41021 | <filename>memory_map/boot.asm
format ELF
include 'macro.inc'
; >>>> 16bit code
section '.text16' executable
Use16
org 0x7c00 ; why?! loop problems
public start
start:
cli ; disabling interrupts
mov ax, cs ; segment registers' init
mov ds, ax
mov es, ax
mov ss, ax
mov sp, 0x7C00 ... |
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_ladd.asm | ahjelm/z88dk | 640 | 41022 | <filename>libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_ladd.asm<gh_stars>100-1000
; long __ladd (long left, long right)
SECTION code_clib
SECTION code_fp_am9511
PUBLIC cam32_sdcc_ladd
EXTERN cam32_sdcc_readr, asm_am9511_ladd
.cam32_sdcc_ladd
; add two sdcc longs
;
; enter : stack = sdcc_lon... |
programs/oeis/212/A212595.asm | karttu/loda | 1 | 41024 | <filename>programs/oeis/212/A212595.asm
; A212595: Let f(n) = 2n-7. Difference between f(n) and the nearest prime < f(n).
; 2,2,4,2,2,4,2,4,6,2,2,4,6,2,4,2,2,4,2,4,6,2,4,6,2,2,4,6,2,4,2,2,4,6,2,4,2,4,6,2,4,6,8,2,4,2,2,4,2,2,4,2,4,6,8,10,12,14,2,4,2,4,6,2,2,4,6,8,10,2,2,4,6,2,4,6,2,4,2,4,6,2,4,6,2,2,4,6,8,10,2,2,4,2,2,4... |
tests/experiments/synchronization/barrierLocalWait.asm | ilebedev/stacktool | 1 | 41026 | 229 instructions in 1 segments;
(no label): 229 instructions
push 0x0; #arg count; start of __$boot
push -0x1; #arg ptr
call_pc 0xdc; #call to __$global ; initialize globals
call_pc 0xa8; #call to main ; transfer control to main
halt; #end of platform main
j_pc 0x1; #to : @bb_stackembarrier_wait_while.cond # ; start of... |
semester-5/microprocessor/asciibin.asm | saranshbht/bsc-codes | 3 | 41027 | <gh_stars>1-10
.model small
.data
msg db "Enter an ASCII character: $"
msg1 db 10, "Binary value corresponding to the ASCII: $"
.code
.startup
lea dx, msg
mov ah, 09h
int 21h
mov ah, 01h
int 21h
mov bl, al
lea dx, msg1
mov ah, 09h
i... |
QSS/src/kernel/cpu/cpu.asm | vbmacher/qsOS | 1 | 41028 | <gh_stars>1-10
;
; CPU.ASM
;
; (c) Copyright 2005, vbmacher
;
;
.model compact
.486
.data
.code
extrn _vendor_str
extrn _brand_str
; POZOR: tato funkcia sa moze volat AZ ked je na 100% iste,
; ze procesor podporuje CPUID
public _checkBRAND
_checkBRAND proc
mov eax, 80000000h
db 0Fh ;cpuid
db 0A2h
;chcem bran... |
VirtualBox-5.0.0/src/VBox/Devices/PC/BIOS/VBoxBiosAlternative.asm | egraba/vbox_openbsd | 1 | 41029 | ; $Id: VBoxBiosAlternative.asm $
;; @file
; Auto Generated source file. Do not edit.
;
;
; Source file: post.c
;
; BIOS POST routines. Used only during initialization.
;
;
;
; Copyright (C) 2004-2015 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http... |
DIR819_v1.06/src/opensource/dlna/dlna_bcm/libs/ffmpeg-0.5/libavcodec/x86/h264_idct_sse2.asm | Sirherobrine23/Dir819gpl_code | 1 | 41030 | ;*****************************************************************************
;* SSE2-optimized H.264 iDCT
;*****************************************************************************
;* Copyright (C) 2003-2008 x264 project
;*
;* Authors: <NAME> <<EMAIL>>
;* <NAME> <<EMAIL>>
;* <NAME> <<EMAIL>>
;* ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1914.asm | ljhsiun2/medusa | 9 | 41031 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1cec1, %rsi
lea addresses_UC_ht+0xb095, %rdi
nop
nop
nop
nop
nop
add $34802, %rdx
mov $22, %rcx
rep movsl
nop
nop
nop
nop
nop
add $13806, %r11
lea addresses_WC_ht+0x1695,... |
PIC/mikroC/Projects/PIC18F4550/Test.asm | UdayanSinha/Code_Blocks | 3 | 41032 |
_main:
;Test.c,1 :: void main(void)
;Test.c,4 :: TRISC=0xFB; //RC2 is output
MOVLW 251
MOVWF TRISC+0
;Test.c,5 :: PWM1_Init(10000); //10kHz PWM
BSF T2CON+0, 0, 0
BCF T2CON+0, 1, 0
MOVLW 124
MOVWF PR2+0, 0
CALL _PWM1_Init+0, 0
;Test.c,6... |
ioq3/build/release-js-js/missionpack/game/g_weapon.asm | RawTechnique/quake-port | 1 | 41033 | export G_BounceProjectile
code
proc G_BounceProjectile 68 4
ADDRFP4 0
ADDRFP4 0
INDIRP4
ASGNP4
ADDRFP4 4
ADDRFP4 4
INDIRP4
ASGNP4
ADDRFP4 8
ADDRFP4 8
INDIRP4
ASGNP4
ADDRFP4 12
ADDRFP4 12
INDIRP4
ASGNP4
ADDRLP4 0
ADDRFP4 4
INDIRP4
INDIRF4
ADDRFP4 0
INDIRP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 36
CNSTI4 4
ASGNI4
ADDRLP4 0+4
ADDR... |
programs/oeis/238/A238976.asm | neoneye/loda | 22 | 41034 | <filename>programs/oeis/238/A238976.asm
; A238976: a(n) = ((3^(n-1)-1)^2)/4.
; 0,1,16,169,1600,14641,132496,1194649,10758400,96845281,871666576,7845176329,70607118400,635465659921,5719195722256,51472775849209,463255025689600,4169295360346561,37523658630539536,337712928837117289,3039416363020840000,27354747277647913201,... |
Week04_HackProgramming/sumtilln.asm | abhishekmittal15/Nand2Tetris | 2 | 41035 | <filename>Week04_HackProgramming/sumtilln.asm
// Loop from 1 to n and compute the final sum.R1's value will be the index. R2's value = N
// @1
// M=1
// @3
// D=A
// @2
// M=D
// @3
// M=0
// (LOOP)
// @1
// D=M
// @2
// D=D-M
// @END
// D;JGT
// @1
// D=M
// M=M+1
// @3
// M=M+D
// @LOOP
// 0;JMP
// (END)
// @END
/... |
sw/552tests/inst_tests/slt_5.asm | JPShen-UWM/ThreadKraken | 1 | 41036 | // Original test: ./mkenny/hw4/problem6/slt_0.asm
// Author: mkenny
// Test source code follows
//SLT Test 0
//Put 0 in r0, 1 in r1, -1 in r2
lbi r0, 0x00
lbi r1, 0x01
lbi r2, 0xff
//Test comparisons between 0 and 1
slt r3, r0, r1 //r3 should have 1
slt r3, r1, r0 //r3 should have 0
//Test comparisons between 0 and... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.